Hi,
I've implemented screen rotation for a number of programs on the device using _resize or where that doesn't work a timer and height vs width comparison, then calling the pachScreen.dll library to set the correct orientation.
However this all works fine whether my program is running "in the background" or on top. i.e. if my program is running in the background it still controls the display orientation of any other running programs.
Is there any way to detect that my program is the one "on top" or changing from "on top" to "not on top" or vice versa so that the code can only control its own orientation?
Cheers,
Mark
I've implemented screen rotation for a number of programs on the device using _resize or where that doesn't work a timer and height vs width comparison, then calling the pachScreen.dll library to set the correct orientation.
However this all works fine whether my program is running "in the background" or on top. i.e. if my program is running in the background it still controls the display orientation of any other running programs.
Is there any way to detect that my program is the one "on top" or changing from "on top" to "not on top" or vice versa so that the code can only control its own orientation?
Cheers,
Mark