Project Home
Project Home
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - focus event not received when changing window order: (2 Items)
   
focus event not received when changing window order  
I and using kdSetWindowOrderQNX() to set the current application to the top.

This works really well and I receive KD_EVENT_INPUT_POINTER events when I’m on top, and not when I’m on bottom.  
However I do not receive KD_EVENT_WINDOW_FOCUS events, so do not know when I have lost focus.

Does a KD_EVENT_WINDOW_FOCUS (or even an Z_ORDER_CHANGED) event get firesd when the window order is changed using 
kdSetWindowOrderQNX()?

Cheers

Adrian
Re: focus event not received when changing window order  
Taking a quick peek at the source, it looks like we either missed that case, or decided against that behavior. You could
 try manually setting focus to the window your raising.