PocketMatrix forums

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

[Windws Mobile] window won't repaint correctly

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
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)