msvisual.com Forum Index
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Turn window upside down?

 
Post new topic   Reply to topic    msvisual.com Forum Index -> VB WinAPI
Author Message
mike



Joined: 19 Jan 2008
Posts: 29

PostPosted: Tue Feb 26, 2008 5:31 pm    Post subject: Turn window upside down? Reply with quote

I have an old "1994" integrated flat-panel display with
486dx4-100 computer. Windows 98SE, Chips & technology video chip.
I want to use it as a GPIB controller. The NI GPIB card won't run
in anything newer than win98 and I've only got 16MB of ram anyway.
But all the cables come out the bottom making it unweildy.
If I stand it on it's head, my mechanical problems are solved.
All I gotta do is fix it in software.

Is there a way to turn the whole screen upside down?

Ctrl-Alt- doesn't work. No obvious options in the
display drivers. I've found references to a program called
screenInvert.exe that claims to do what I want, except that
it cancels itself with any keypress/mousemove. But it's nowhere
to be found.

My primary application is written in VB6. Maybe there's a way
to "upsidedown" a window? It's not worth the effort to reconstruct
the whole application upside down from scratch.

Ideas?
thanks, mike
--
Return address is VALID!

Archived from group: microsoft>public>vb>winapi
Back to top
View user's profile Send private message
Ken Halter



Joined: 04 Oct 2007
Posts: 4150

PostPosted: Tue Feb 26, 2008 4:05 pm    Post subject: Re: Turn window upside down? Reply with quote

"mike" wrote in message $Hd.4488@trnddc02...
> If I stand it on it's head, my mechanical problems are solved.
> All I gotta do is fix it in software.

You must've worked here at one time or another "The power supply's dead
and the cables are broken... can you fix it with software?"

> Is there a way to turn the whole screen upside down?
>
> Ctrl-Alt- doesn't work.

Sure glad of that.

> No obvious options in the
> display drivers. I've found references to a program called
> screenInvert.exe that claims to do what I want, except that
> it cancels itself with any keypress/mousemove. But it's nowhere
> to be found.

It'll have to be something your video card supports. Inverting isn't enough.
It needs to be rotated.

> My primary application is written in VB6. Maybe there's a way
> to "upsidedown" a window? It's not worth the effort to reconstruct
> the whole application upside down from scratch.

The easiest thing to do would definitely get those cables under control.
Even if there were some kind of "super API" that rotates every pixel on your
screen 180 deg, a 486 w/16 megs is going to be swamped doing nothing but
rotating pixels. iirc, ATI has video drivers that support rotation.


--
Ken Halter - MS-MVP-VB - Please keep all discussions in the groups..
In Loving Memory - http://www.vbsight.com/Remembrance.htm
Back to top
View user's profile Send private message
Kevin Provance



Joined: 04 Oct 2007
Posts: 800

PostPosted: Tue Feb 26, 2008 11:24 pm    Post subject: Re: Turn window upside down? Reply with quote

You could always turns the monitor upside down. Pretty simple?

- Kev

"mike" wrote in message $Hd.4488@trnddc02...
|I have an old "1994" integrated flat-panel display with
| 486dx4-100 computer. Windows 98SE, Chips & technology video chip.
| I want to use it as a GPIB controller. The NI GPIB card won't run
| in anything newer than win98 and I've only got 16MB of ram anyway.
| But all the cables come out the bottom making it unweildy.
| If I stand it on it's head, my mechanical problems are solved.
| All I gotta do is fix it in software.
|
| Is there a way to turn the whole screen upside down?
|
| Ctrl-Alt- doesn't work. No obvious options in the
| display drivers. I've found references to a program called
| screenInvert.exe that claims to do what I want, except that
| it cancels itself with any keypress/mousemove. But it's nowhere
| to be found.
|
| My primary application is written in VB6. Maybe there's a way
| to "upsidedown" a window? It's not worth the effort to reconstruct
| the whole application upside down from scratch.
|
| Ideas?
| thanks, mike
| --
| Return address is VALID!
Back to top
View user's profile Send private message
PeterD



Joined: 04 Oct 2007
Posts: 245

PostPosted: Wed Feb 27, 2008 12:34 am    Post subject: Re: Turn window upside down? Reply with quote

On Tue, 26 Feb 2008 18:24:05 -0500, "Kevin Provance"
wrote:

>You could always turns the monitor upside down. Pretty simple?
>
>- Kev
>
>"mike" wrote in message
>$Hd.4488@trnddc02...
>|I have an old "1994" integrated flat-panel display with
>| 486dx4-100 computer. Windows 98SE, Chips & technology video chip.
>| I want to use it as a GPIB controller. The NI GPIB card won't run
>| in anything newer than win98 and I've only got 16MB of ram anyway.
>| But all the cables come out the bottom making it unweildy.
>| If I stand it on it's head, my mechanical problems are solved.
>| All I gotta do is fix it in software.
>|
>| Is there a way to turn the whole screen upside down?
>|
>| Ctrl-Alt- doesn't work. No obvious options in the
>| display drivers. I've found references to a program called
>| screenInvert.exe that claims to do what I want, except that
>| it cancels itself with any keypress/mousemove. But it's nowhere
>| to be found.
>|
>| My primary application is written in VB6. Maybe there's a way
>| to "upsidedown" a window? It's not worth the effort to reconstruct
>| the whole application upside down from scratch.
>|
>| Ideas?
>| thanks, mike
>| --
>| Return address is VALID!
>

Mike, any CRT based monitor can be virtually flipped upside down (or
left/right, too) by swapping the wires on the deflection yolk (that is
the thing on the neck of the tube inside the monitor). This was a
common trick for things like backup monitors (where left/right needed
to be swapped to mimic a mirror) and for monitors that had to be
mounted upside down (like yours!)
Back to top
View user's profile Send private message
Thorsten Albers



Joined: 04 Oct 2007
Posts: 756

PostPosted: Tue Feb 26, 2008 10:01 pm    Post subject: Re: Turn window upside down? Reply with quote

Ken Halter schrieb im Beitrag
...
> The easiest thing to do would definitely get those cables under control.

Maybe easier for him: He could nail his chair to the ceiling of his room
upside down - and then work upside down himself... O.k., a bit more
practical: Instead of turning his monitor upside down he could turn it by
90 degrees and then work lying on the side in front of it... There is
another rather easy solution with two mirrors... Smile

--
----------------------------------------------------------------------
THORSTEN ALBERS Universität Freiburg
albers@
uni-freiburg.de
----------------------------------------------------------------------
Back to top
View user's profile Send private message
mike



Joined: 19 Jan 2008
Posts: 29

PostPosted: Wed Feb 27, 2008 7:52 am    Post subject: Re: Turn window upside down? Reply with quote

PeterD wrote:
> On Tue, 26 Feb 2008 18:24:05 -0500, "Kevin Provance"
> wrote:
>
>> You could always turns the monitor upside down. Pretty simple?
>>
>> - Kev
>>
>> "mike" wrote in message
>> $Hd.4488@trnddc02...
>> |I have an old "1994" integrated flat-panel display with
>> | 486dx4-100 computer. Windows 98SE, Chips & technology video chip.
>> | I want to use it as a GPIB controller. The NI GPIB card won't run
>> | in anything newer than win98 and I've only got 16MB of ram anyway.
>> | But all the cables come out the bottom making it unweildy.
>> | If I stand it on it's head, my mechanical problems are solved.
>> | All I gotta do is fix it in software.
>> |
>> | Is there a way to turn the whole screen upside down?
>> |
>> | Ctrl-Alt- doesn't work. No obvious options in the
>> | display drivers. I've found references to a program called
>> | screenInvert.exe that claims to do what I want, except that
>> | it cancels itself with any keypress/mousemove. But it's nowhere
>> | to be found.
>> |
>> | My primary application is written in VB6. Maybe there's a way
>> | to "upsidedown" a window? It's not worth the effort to reconstruct
>> | the whole application upside down from scratch.
>> |
>> | Ideas?
>> | thanks, mike
>> | --
>> | Return address is VALID!
>>
>
> Mike, any CRT based monitor can be virtually flipped upside down (or
> left/right, too) by swapping the wires on the deflection yolk (that is
> the thing on the neck of the tube inside the monitor). This was a
> common trick for things like backup monitors (where left/right needed
> to be swapped to mimic a mirror) and for monitors that had to be
> mounted upside down (like yours!)
>
Cool, except it's a LCD flat-panel display integrated into the same box
with the computer that needs to be stood on its head.

I get the message...I'll fix it in hardware with a stand.
Thanks, mike

--
Return address is VALID!
Back to top
View user's profile Send private message
Schmidt



Joined: 04 Oct 2007
Posts: 806

PostPosted: Wed Feb 27, 2008 7:55 pm    Post subject: Re: Turn window upside down? Reply with quote

"mike" schrieb im Newsbeitrag$6h7.20640@trnddc04...

> I get the message...I'll fix it in hardware with a stand.
Aren't the newer ATI- or NVida-Driver both capable,
to rotate the Screen 90°-wise (including Flipping) "per
Software-Switch"?

Just install the full version of Graphics-Driver-Support
from their sites (for ATI this would be called the "Catalyst"-
package and the NVidia-pendant is called "ForceWare").

Olaf
Back to top
View user's profile Send private message
mike



Joined: 19 Jan 2008
Posts: 29

PostPosted: Wed Feb 27, 2008 7:56 pm    Post subject: Re: Turn window upside down? Reply with quote

Schmidt wrote:
> "mike" schrieb im Newsbeitrag
> $6h7.20640@trnddc04...
>
>> I get the message...I'll fix it in hardware with a stand.
> Aren't the newer ATI- or NVida-Driver both capable,
> to rotate the Screen 90°-wise (including Flipping) "per
> Software-Switch"?
>
> Just install the full version of Graphics-Driver-Support
> from their sites (for ATI this would be called the "Catalyst"-
> package and the NVidia-pendant is called "ForceWare").
>
> Olaf
>
>
Will this work on my
Chips & technology 65545 video chip?

--
Return address is VALID!
Back to top
View user's profile Send private message
Schmidt



Joined: 04 Oct 2007
Posts: 806

PostPosted: Wed Feb 27, 2008 9:22 pm    Post subject: Re: Turn window upside down? Reply with quote

"mike" schrieb im Newsbeitrag$v57.22518@trnddc05...

[Driver-based flipping]
> Will this work on my
> Chips & technology 65545 video chip?
Arrgh, ... with high probability - no.
I overlooked in your first post, that you are using
an older "embedded-PC" - sorry for the noise. Wink

Olaf
Back to top
View user's profile Send private message
Thorsten Albers



Joined: 04 Oct 2007
Posts: 756

PostPosted: Wed Feb 27, 2008 6:39 pm    Post subject: Re: Turn window upside down? Reply with quote

Schmidt schrieb im Beitrag
...
> Arrgh, ... with high probability - no.
> I overlooked in your first post, that you are using
> an older "embedded-PC" - sorry for the noise. Wink

He also uses Win 98SE the support for which ATI has dismissed a long time
ago - presumably in pre-catalyst times...

--
----------------------------------------------------------------------
THORSTEN ALBERS Universität Freiburg
albers@
uni-freiburg.de
----------------------------------------------------------------------

Back to top
View user's profile Send private message
Display posts from previous:   
Related Topics:
Turn Monitor off with VB The last time I did this was back in Visual Basic 6. Now I am using VB.NET 2005. When I use my code now, it turns off the monitor just fine. However when I move my mouse the monitor comes back on. Back in VB6, I was able to turn off the monitor and it wou

How can I turn off keboard input? I need to write a Visual Basic 6 routine to ignore keyboard input for 10 seconds anytime any key is pressed. Is there an API call, or any other way, to do this?

Turn off EnsureVisble in Listview Hi, I wonder if anybody knows a way to turn off the ensure visible behaviour in a listview in icon view. I guess I must subclass the listview and looking for some listview messages, but in that case which listview message to trap? Rgds Ulrik

turn tabstop off for frame control? (vb 6) I am trying to turn off tab stop for all controls on my form (so i can trap a Tab key press). However, I don't see the TabStop property for the Frame controls (which I'm using to group option buttons). Yet the Frame controls have a TabIndex property. When

Quickly Turn on "Show Hidden Files"? Does anyone know the VB statement that will set explorer to show hidden files? I am getting tired of going through the 5 clicks necessary to turn on the global showing of hidden files withing explorer. I would like to write a VB program that does this s
Post new topic   Reply to topic    msvisual.com Forum Index -> VB WinAPI All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group