Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people, just like you, are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
Solved

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

Posted on 2015-02-04
4
23 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 42

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

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying 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

Suggested Solutions

In this post we will learn how to connect and configure Android Device (Smartphone etc.) with Android Studio. After that we will run a simple Hello World Program.
Developer portfolios can be a bit of an enigma—how do you present yourself to employers without burying them in lines of code?  A modern portfolio is more than just work samples, it’s also a statement of how you work.
The viewer will learn how to successfully create a multiboot device using the SARDU utility on Windows 7. Start the SARDU utility: Change the image directory to wherever you store your ISOs, this will prevent you from having 2 copies of an ISO wit…
In this fourth video of the Xpdf series, we discuss and demonstrate the PDFinfo utility, which retrieves the contents of a PDF's Info Dictionary, as well as some other information, including the page count. We show how to isolate the page count in a…

790 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