This site is no longer active and is available for archival purposes only. Registration and login is disabled.

How to allow another window to pop up over a gapidraw window


How to allow another window to pop up over a gapidraw window

Postby eugraphics » Dec 12, 2006 @ 11:25pm

Does anyone know how to allow another window to pop up over a gapidraw window? Like when i active sync.

In the GD sample apps, when a new window pops up, it minimizes the app. I want the app to stay up but the new window to go over it. Then i want the app to continue when the pop up is gone - which is easy.

Thanks.
eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Postby Antony » Dec 13, 2006 @ 1:02am

If I recall correctly the reason for the application minimizing is that it looses focus and there is code to minimize within the WM_ACTIVATE , WA_INACTIVE.

See the application code for the WindowProc and the WM_ACTIVATE.

You could prevent the minimize code there and see what happens. Currently it only complies that code if _WIN32_WCE is defined i.e. mobile devices.

NOTE: I have never tried this and there may be unforseen consequences. :wink:
Ant.
User avatar
Antony
pm Member
 
Posts: 39
Joined: Jun 8, 2004 @ 10:43pm
Location: Hitchin, UK


Postby eugraphics » Dec 13, 2006 @ 6:38pm

eugraphics
pm Member
 
Posts: 56
Joined: Dec 3, 2006 @ 6:56pm


Return to GapiDraw


Sort


Forum Description

The Cross-platform Graphics SDK for Palms, Pocket PCs, Symbian Devices, and Stationary PCs.

Moderators:

sponge, Johan

Forum permissions

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum