|
Hi m8, sorry would of answered sooner if I had seen it
1. Non moving of map
Unsure on this, but it may have something to do with this line
MyDest.parentwindow = form1.hwnd
Try putting a picture on your form1 and then using something like
SetParent MyDest.GetDestinatorWindowHandle , Picture1.Hwdn
This will then embedd it in the picture, which is in your form. You can then use something like
SetWindowPos MyDest.GetDestinatorWindowHandle, 0, -3, -3, Picture1.Width + 6, Picture1.Height + 40, 0
This will get rid of the bottom bit of the D3 map and the boarder.
2. On calling the Address dialog, it creates a new window which its parent is the desktop, so you need to find the handle of this windows and then use the sendkeys command to send your osk keypresses to it.
3. This is one of the problems with the D3 SDK, I tried many times to sort this problem out and it also seems tied to the maps and the versions they are. I decided in the end just to used the dialog and long / lat points.
hope this info helps you
thanks
CdR
|