Hi,
We are moving our application from Windows CE 6.0 to Windows Embedded Compact 7 and I've noticed an unexpected behavior of the CreateWindowEx function with extended style WS_EX_NOACTIVATE.
Basically we use it for pop-up windows, such us keyboards, and under CE6 it behaves as expected – the pop-up window doesn’t get focus after pressing the child objects, and the child objects are generating all the events and repaint correctly in both – pressed and regular states.
Now, after compiling this code for WEC7, it behaves differently. The pop-up window doesn’t get focus, which is correct, and also the child windows are generating events… but… they are not repainted at all. The buttons are not being depressed even after pressing them, and even though they generate events. It looks like this flag disables all the children. It’s also possible that the WM_PAINT message is not sent to the correct message handler.
Why this is different in WEC7? I haven’t seen any documentation on this.
It happens even with a very simple example of a button inside of a window with this flag.
Please let me know if you have any ideas.
Thank you!
Zack