Solved

How to filp the screen upside down

Posted on 1997-07-09
7
880 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
Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

 
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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

This tutorial is about how to put some of your C++ program's functionality into a standard DLL, and how to make working with the EXE and the DLL simple and seamless.   We'll be using Microsoft Visual Studio 2008 and we will cut out the noise; that i…
This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
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…
In this video I am going to show you how to back up and restore Office 365 mailboxes using CodeTwo Backup for Office 365. Learn more about the tool used in this video here: http://www.codetwo.com/backup-for-office-365/ (http://www.codetwo.com/ba…

861 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now