[Webinar] Streamline your web hosting managementRegister Today

x
?
Solved

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

Posted on 2015-02-04
4
Medium Priority
?
34 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
3 Comments
 
LVL 62

Assisted Solution

by:gheist
gheist earned 1000 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 43

Accepted Solution

by:
pcelba earned 1000 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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Today, unlike web development, the mobile landscape is complex enough for a software engineer and Android is posing more challenging environment thanks to its fragmentation issues on hardware and software fronts.
Now many of you may wonder how you can reach great design with least number of essentials. Isn’t stuffing ‘more and more number of elements that speak for the purpose’ the right way to do it? Erm, not always, and in this write-up, you will see why.
With the power of JIRA, there's an unlimited number of ways you can customize it, use it and benefit from it. With that in mind, there's bound to be things that I wasn't able to cover in this course. With this summary we'll look at some places to go…
This video Micro Tutorial shows how to password-protect PDF files with free software. Many software products can do this, such as Adobe Acrobat (but not Adobe Reader), Nuance PaperPort, and Nuance Power PDF, but they are not free products. This vide…

607 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