Solved

How to filp the screen upside down

Posted on 1997-07-09
7
883 Views
Last Modified: 2013-12-03
I would like to try to take all the material that is on
the screen and flip it 180 degrees so that it is upside
down.   Does anyone know how to do this
0
Comment
Question by:jaalex
7 Comments
 
LVL 1

Expert Comment

by:dtowell
ID: 1400503
Turn the monitor over.
0
 

Author Comment

by:jaalex
ID: 1400504
That is what we want to do.  We have a display that we want to
turn over.  But we want to see the display correct.
0
 
LVL 3

Expert Comment

by:vinniew
ID: 1400505
1. create a window that matches the full size of the screen.
2. capture the data from your device context as a bitmap.
3. once you have the handle to the bitmap you'll have to find an algorithm to flip a bitmap.  That involves parsing headers and a lot of other things.
4. search on the internet for code to flip the bitmap.
5. erase the old bitmap and replace it with the new.  Or, you don't have to erase it.

V

Look at the code called bouncer from the VC++  2.0 cd's  to capture the screen image.

Ask more specific questions for more...

0
Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

 
LVL 3

Expert Comment

by:vinniew
ID: 1400506
The full-size window will be transparent, by the way.  That's one of the important settings, as I recall.  
0
 

Author Comment

by:jaalex
ID: 1400507
That might work but we would like to do this in real time.
That would add a lot of overhead to the project and really
slow us down.  I guess I am kinda looking for a vga driver that  will do all of this at the systme level.
0
 
LVL 3

Accepted Solution

by:
jaba earned 70 total points
ID: 1400508
Ther is no such drivers :-( You can try to create one by using DDK , but it tough and useless work. You can get sample of VGA driver from DDK and rewrite it . but ...
I think you want create analog of DOS 1.com programm :-)
0
 
LVL 3

Expert Comment

by:vinniew
ID: 1400509
If you want to go lower level, you'll have to:

1. get the name of the vxd responsible for accessing the screen.
2. research how to access it.
3. write an algorithm to do what you're wanting.

The research part will be the worst.  post whatever you find out.
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
What is Runtime?  What is Middleware?  Azure stack 1 345
Problem to packaging 1 91
What are the big features of MVC5? 4 85
What is MicroStrategy.NET? 2 66
This article shows a few slightly more advanced techniques for Windows 7 gadget programming, including how to save and restore user settings for your gadget and how to populate the "details" panel that is displayed in the Windows 7 gadget gallery.  …
This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…

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