I am using MP2002 with Delphi and the TOleContainer as it is described by Jack Melger
(http://www.mp2kmag.com/articles.asp?...delphi.example).
The code is:
procedure TForm1.FormActivate(Sender: TObject);
var vGuid : TGuid;
begin
OleContainer.CreateObject('MapPoint.Map.EU.9', False);
OleContainer.DoVerb(1);
OleContainer.OleObjectInterface.GetUserClassID(vGu id);
FMap := IDispatch(OleContainer.OleObject) as _Map;
end
Now I want to use the the MouseDown-Event to get a coordinate for my application.
How do I do that ?
When I use MP2002 as a separate application and put TMap on the form this is easy. But with TOleContainer ?
Regards
Rainer Barthels