Talk:How to get notification when screen orientation is changed in exe (without CONE)?
Article Review by savaj
(20090906)
Usually console exe does not have graphics, thus does not require listen to change in orientation switching initiated by window serve. If application is GUI application than we can easily get notification orientation switching by CoeControl::HandleResourceChange() method. In rare case console exe also require notification when orientation of device changes, for example, if exe have some graphics to display on desktop of device. But for console exe listening change in orientation is quit difficult.
Usually console exe does not have graphics, thus does not require listen to change in orientation switching initiated by window serve. If application is GUI application than we can easily get notification orientation switching by CoeControl::HandleResourceChange() method. In rare case console exe also require notification when orientation of device changes, for example, if exe have some graphics to display on desktop of device. But for console exe listening change in orientation is quit difficult.
This article describes how to listen change in orientation in console exe using Active objects. So basic knowledge of Active objects is required to implement this code. Article is very useful to those who show graphics in console exe.

