 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
bigtommy Guest
|
Posted: Fri Aug 12, 2005 12:39 pm Post subject: Using MapPoint 2004 with BCB6 |
|
|
Hello,
I am using MP inside TOleContainer. Everythig works fine but I'd like to
add a control panel (MapPoint panel with zooming,route planning etc.)
Can anyone tell me how to do it.
The way I do it is shown below:
OleContainer1 = new TOleContainer(this);
// I put OleContainter on the Panel (TCustomPanel)
OleContainer1->Parent = this;
OleContainer1->CreateObject("MapPoint.Map",false);
OleContainer1->OleObjectInterface->QueryInterface(IID__Map,(void**)&Map1);
OleContainer1->Align = alClient;
OleContainer1->DoVerb(ovShow);
is there any possiblity of switching MapPoint.Map to MapPoint.App or
something like that? - I just need a control panel without a legent and
stuff.
Thanks in advance
Tomek
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|