Intercept screen rotation

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Hi to all NG.

In Windows Mobile my application "understand" that the screen rotation
was changed because the system fires a Form_Resize() event, so I can
run code to resize the form's controls to the new form size.

However running the same application on WinCE 4.2 I get no
Form_Resize() event, so the application don't resize automatically.

There's a way to intercept the screen rotation (via PInvoke callbak,
Windows messaging..)

Thanks

.