I developed one exe which display some graphics(text with some background image) on desktop. My TickerContainer class is derived from CBase. Now problem is that " how can i get event when user change display mode (portrait to landscape and vice-versa).

i know that by implementing CEikAppUi::HandleResourceChangeL() in application, we get notification in HandleResourceChangeL. but my exe is not derived from CEikAppUi or CCoeControl.

is there any solution to this problem?