Page 1 of 1

[Windws Mobile] window won't repaint correctly

PostPosted: Feb 27, 2009 @ 7:16am
by mamahow
Hi Edge,
When we develop WM app, sometimes system notification(message box...) is pop up and the EDGE frame won't update at that time.
It results in the abnormal window.
Can we make OnNextFrame is continuously triggered or other suggestion to maintain correct window display?

Thanks,
mamahow

PostPosted: Mar 2, 2009 @ 9:45am
by edge
Hi Mamahow,

You can make calls to ClassEDisplay :: Flip to update the screen manually. To check if the screen should be updated when a window is dragged over it, check the WM_PAINT message.

To check for window messages, implement the OnNativeEvent callback. More information is available here: http://www.edgelib.com/index.php?node=1139 (search for the 'Native event handler' chapter)