|
| Mappoint Control and non-modal windows |
 |
Wed, 5 Mar 2008 10:42:02 -0800 |
I'm creating a small program that uses the mappoint control from mappoint
2006 in VB6 and in delphi. In both programs all non modal windows appear
behind all other windows when they gain focus. This only happens when I have
an active map open with the mappoint control. The form with the mappoint
control seems to always be on top but when I try to click on one of the other
windows in the same application, they get sent to the back. I've seen this
happen on a few of our WinXP machines but it happens mostly on our Vista
machine.
VB6 seems to handle modal forms ok but delphi displays all new forms behind
the window that has the mappoint control.
Has anybody else seen this problem and is there a way to get my windows to
behave normally while mappoint is active?
|
| Post Reply
|
| RE: Mappoint Control and non-modal windows |
 |
Mon, 10 Mar 2008 14:23:27 -070 |
I did a little more research and found that the MapPoint control doesn't
behave correctly when Extended support for advanced text services is enabled
in Windows XP (this is found in control panel -> regional and language
options -> languages -> details -> advanced). This seems to always be
enabled
in Vista with no option of turning it off.
I have observed the Z-Order of all windows and found that Windows is
creating a window called "Default IME" and puts all the forms for my
app
within this window. But when I create a new map with the mappoint control by
calling NewMap, it creates another "Default IME" window and all the
windows
in my application seem to go back and forth between the two and in the wrong
order. I can get rid of the other "Default IME" by calling CloseMap on
the
mappoint control.
Does anybody know who I can contact to report this bug?
Or if there's already a fix for this?
I would imagine this would become more of an issue as more people develop in
Vista.
"Reinier" wrote:
> I'm creating a small program that uses the mappoint control from mappoint
> 2006 in VB6 and in delphi. In both programs all non modal windows appear
> behind all other windows when they gain focus. This only happens when I
have
> an active map open with the mappoint control. The form with the mappoint
> control seems to always be on top but when I try to click on one of the
other
> windows in the same application, they get sent to the back. I've seen this
> happen on a few of our WinXP machines but it happens mostly on our Vista
> machine.
>
> VB6 seems to handle modal forms ok but delphi displays all new forms behind
> the window that has the mappoint control.
>
> Has anybody else seen this problem and is there a way to get my windows to
> behave normally while mappoint is active?
>
|
| Post Reply
|
|
|
|
|
|
|
|
|
|