[SDL] Losing focus because of a warning window - windows CE

Marko Djukic djmare at gmail.com
Mon Jul 10 04:43:08 PDT 2006


Hello!

We're developing an application in SDL for windows CE. When there's a 
power failure on the mobile device, a warning window pops up and the 
application loses focus until you touch the screen.
The WM messages we receive are (in that order) WM_NCACTIVATE (we're not 
sure what it means) and WM_CAPTURECHANGED (We force a redraw here and 
regain focus, but the pop-up window remains upfront. If we don't redraw, 
we cannot gain focus.).

How can we prevent this pop-up window from drawing itself on top of our 
application?

Thanks

-- 
Marko Djukic





More information about the SDL mailing list