PocketMatrix forums

A read-only archive of the PocketMatrix forums (2001–2014). Posting and accounts are closed.

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

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.
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:
yeah, that didnt work but the problem was with the dExStyle. should be 0 when creating the window which lets the wnd not always be on top.