Solved

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

Posted on 2015-02-04
4
22 Views
Last Modified: 2016-06-23
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?
0
Comment
Question by:shady247
4 Comments
 
LVL 62

Assisted Solution

by:gheist
gheist earned 250 total points
ID: 40590569
Neither windowing system supports it, but you can always rotate drawing surface, if no other way - opengl does it very well
0
 
LVL 41

Accepted Solution

by:
pcelba earned 250 total points
ID: 40590610
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
 

Author Comment

by:shady247
ID: 40592790
Thank you. I will investigate and come back with more questions :) or accept a solution.
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Today, still in the boom of Apple, PC's and products, nearly 50% of the computer users use Windows as graphical operating systems. If you are among those users who love windows, but are grappling to keep the system's hard drive optimized, then you s…
Skype is a P2P (Peer to Peer) instant messaging and VOIP (Voice over IP) service – as well as a whole lot more.
Using Adobe Premiere Pro, the viewer will learn how to set up a sequence with proper settings, importing pictures, rendering, and exporting the finished product.
This is used to tweak the memory usage for your computer, it is used for servers more so than workstations but just be careful editing registry settings as it may cause irreversible results. I hold no responsibility for anything you do to the regist…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question