|
-
May 11th, 2005, 08:56 AM
#1
Thread Starter
Fanatic Member
Flip with CARE
I want to flip my screen to 180 degree..
not by taking its picture and then fliping it or by using Stretchblt,bitblt or something like that ....
instead i want to control this through other means like Vga driver or something like that so that i will not feel degradation of performance
thx in Advance
Last edited by vbPoet; May 11th, 2005 at 09:01 AM.
-
May 11th, 2005, 11:33 AM
#2
Re: Flip with CARE
Here ya go:
VB Code:
Private Declare Function InvertRect Lib "user32" (ByVal hdc As Long, lpRect As Rect) As Long
Private Declare Function GetWindowDC Lib "user32" (ByVal hwnd As Long) As Long
Private Declare Function GetClientRect Lib "user32" (ByVal hwnd As Long, lpRect As Rect) As Long
Private Declare Function GetDesktopWindow Lib "user32" () As Long
Private Type Rect
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type
Private rct As Rect
Private Sub Command1_Click()
GetClientRect GetDesktopWindow, rct
InvertRect GetWindowDC(GetDesktopWindow), rct
End Sub
-
May 11th, 2005, 12:03 PM
#3
Thread Starter
Fanatic Member
Re: Flip with CARE
Jacob
though its cool...
But read my thread with care ....
I want something else....
I want that Start button should be displayed at upper right corner and it should be inverted.... (** 180 degree.. **)
Probably i need to mess with VGA driver or something else..
-
May 11th, 2005, 02:22 PM
#4
Re: Flip with CARE
Don't think that's possible. But I could be wrong.
-
May 11th, 2005, 02:28 PM
#5
Junior Member
Re: Flip with CARE
You mean as if the monitor were upside down? Why?
-
May 11th, 2005, 02:30 PM
#6
Re: Flip with CARE
Some compaq video cards had a feature built in, and there are also monitors that can be inverted, but that would probably be the only way to do it.
-
May 11th, 2005, 02:34 PM
#7
Junior Member
Re: Flip with CARE
 Originally Posted by dglienna
there are also monitors that can be inverted, but that would probably be the only way to do it.
What about headstands ? 
 Originally Posted by dglienna
Some compaq video cards had a feature built in
I think most of them support this feature. I tried it now, got disoriented, could not find my way back and was overtaken by a panic attack
Last edited by Xiarcel; May 11th, 2005 at 02:40 PM.
-
May 11th, 2005, 03:44 PM
#8
Thread Starter
Fanatic Member
Re: Flip with CARE
NO nO...
I want to do it programatically ..
any idea about controlling VGA or monitor driver ....
-
May 11th, 2005, 04:24 PM
#9
Frenzied Member
Re: Flip with CARE
Well...
if your VGA doesn't support it.. then i doubt it's not possible doing it directly... bitblt should be the solution then..
-
May 11th, 2005, 04:28 PM
#10
Re: Flip with CARE
that didnt flip my screen..just inverted my colors..: D
-
May 11th, 2005, 04:35 PM
#11
Re: Flip with CARE
Put the monitor upside down
-
May 11th, 2005, 04:35 PM
#12
Re: Flip with CARE
i didnt know i needed the flipmonitor api!
-
May 11th, 2005, 04:37 PM
#13
Re: Flip with CARE
Spin the yoke around on the CRT tube - should work fine!
Put a little step motor on it and plug it into the serial port to control it
-
May 11th, 2005, 04:41 PM
#14
Re: Flip with CARE
 Originally Posted by |2eM!x
i didnt know i needed the flipmonitor api!
There's also the GetDrunk API that gives you a similar effect.
Seriously though, if your Super VGA card doesn't support it (VGA is old by the way) then you might as well stick with my code.
-
May 11th, 2005, 06:01 PM
#15
Frenzied Member
Re: Flip with CARE
I have a better idea now..
y don't u just sit on your HEAD?
-
May 12th, 2005, 11:15 AM
#16
Thread Starter
Fanatic Member
Re: Flip with CARE
Download software from www.portrait.com named Pivot..
look what does it ....
and how it is sof fast
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
|