Rotate the whole screen

Started by daniel_bingamon, September 25, 2016, 03:00:12 PM

Previous topic - Next topic

daniel_bingamon

I'd like to rotate the screen under program control.
Similar to the the Windows Control-Alt and Arrow Key.

Is there an API call to do this?

This would be for a program placed in the Startup Folder that rotates the screen and then does other things.   
It is for viewing music wit a monitor mounted sideways to read more like a sheet of paper - portrait orientation.

frankie

Yes you can use the functions ChangeDisplaySettings().
Here you'll find more info and a sample.
"It is better to be hated for what you are than to be loved for what you are not." - Andre Gide