View Single Post

  #5 (permalink)  
Old 08-18-2003
Anonymous Anonymous is offline
Senior Member
Black Belt
 
Join Date: Jul 2002
Posts: 5,138
C++ Builder with Mappoint

I am only looking to put a pushpin on the map and change its position. I have created the Mappoint map in an OleContainer but can't find a way to get the control interface to do anything with the map. I am use the mouse on it, but that is all. I need to zoom and change the centre x & y position etc.

How do I get a pointer to the Map for use with the Map functions.

If I declare a Map object in C++ Builder such as this:

Map *pMap;

How do I actually use the OleContainer to point this pointer to a valid Mappoint map. I can see the functions, but the pointer is invalid when the programme runs. Hope this makes sense???

Dave...
Reply With Quote