|
-
Dec 17th, 2001, 07:28 PM
#1
Thread Starter
New Member
Mirror graphics output?
Does anyone know of a program or some code that will mirror all the output from the graphics card to the monitor screen. I don't mean simply flip an image like a picture you are working on in paintshop or photoshop or something; I mean that all the output to the monitor will show up as a mirror image of what it would normally be. There is a commercial program called WinPortrait that lets you rotate the screen image but doesn't let you mirror it. The ability to do this would be very useful to me in a hobby project I am working on that I hope will let me project my monitors image onto a wall.
-
Dec 17th, 2001, 08:43 PM
#2
Good Ol' Platypus
Look for tutorials on all of these:
First off you subclass your form. Before the paint or refresh or something like that, you would use StretchBlt with negative numbers for height and width to flip it horizontally. Then you would pass control of the paint event back to Windows. I may be able to wrangle up some code for you on this.
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Dec 18th, 2001, 03:42 AM
#3
Fanatic Member
It would be relatively easy, unless your screen updates in that time. I once had a program which mirrored the screen too, but that just took a screenshot and opened a fullscreen window, thus you wouldn't see anything else that happened...
I don't think real-time mirroring is possible, but still-mirroring would be easy...
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
-
Dec 18th, 2001, 08:25 AM
#4
Good Ol' Platypus
Might be possible in assembly, well all I know is someone here posted a prank batch file that made the screen pan left faster and faster, and that was a batch file. Good luck!
All contents of the above post that aren't somebody elses are mine, not the property of some media corporation. 
(Just a heads-up)
-
Dec 18th, 2001, 08:20 PM
#5
Thread Starter
New Member
Thanks for the info guys. If you can wrangle up something Sastraxi, let me know. I'm going to brush up my VB skills and have a go at it next week during Christmas break. Toodle-oo
-
Dec 19th, 2001, 03:00 AM
#6
Fanatic Member
Re: Mirror graphics output?
Originally posted by Agotsta
that I hope will let me project my monitors image onto a wall.
Wouldn't you need a special projector to do this? All projectors I've seen flipped the image themselves, so I got a double screen (normal monitor and a 'flipped-but-looking-normal' image on the wall)...
You could also try to write a device driver which acts as a layer between the output and the normal device driver, but I wouldn't recommend even trying
Teaudirenopossum.Musasapientumfixaestinaure.
(I can't hear you. There's a banana in my ear)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|