Can you create / change individual window (not screen) orientation in a windows app

I am developing in c++ with microsoft visual studio.

I have a requirement to create windows with different orientations.  I.e. one right side up, one upside down. I don't want to rotate the entire screen, just individual windows.

Ideally orientation is a property of the window so all drawing/rendering operations are done normally but appear rotated when seen.

Is this possible?  If not in windows, in X11?
shady247Asked:
Who is Participating?
 
pcelbaCommented:
Simply subclass the window, add the orientation property and/or rotate method, and create your own methods which recalculate the drawing coordinates. It should be relatively easy.
0
 
gheistCommented:
Neither windowing system supports it, but you can always rotate drawing surface, if no other way - opengl does it very well
0
 
shady247Author Commented:
Thank you. I will investigate and come back with more questions :) or accept a solution.
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.