|
I'm having several problems getting the Mappoint ActiveX control to work
properly under Dolphin. It's apparent the MP control is not very well
behaved (but what else would you expect from the inventors of the
technology?) but I either make it work with Dolphin or I write yet
another VB app ;) (something I never want to do again after starting to
learn ST). Apparently the control is difficult to use in anything but
VB6 (and perhaps .Net).
The first problem is solved: The ActiveX window is created but with
WS_DISABLED preventing mouse interaction with the control. I fixed that
by grabbing the AX top window and adjusting the style.
The next problem I haven't been so lucky with: For certain items, MP
will display a modal dialog box. The dialog box it parented to the
Windows desktop. If I observe messages to the dialog, they don't
actually arrive into the dialog window until the cursor is moved over
the Dolphin shell window. i.e. If I grab the title bar an move the
mouse, nothing happens even after releasing the mouse button. When I
move the cursor over the Dolphin shell window, the dialog receives a
flood of the windows messages (position, etc).
If anyone can suggest an approach to tracking this down, it would be
much appreciated!
Regardless, a second project I'm working on is coming along just fine in
Dolphin. The environment and language are a joy to work with. Kudos to
all involved!
Take care,
John
|