Page 1 of 1

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

PostPosted: Dec 12, 2006 @ 11:25pm
by eugraphics
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.

PostPosted: Dec 13, 2006 @ 1:02am
by Antony
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:

PostPosted: Dec 13, 2006 @ 6:38pm
by eugraphics