Sign in to follow this  
Followers 0
Persen

Rotating screen/desktop

6 posts in this topic

How should i do to rotate the desktop/screen image with a dll call?

(I know it can be done, because i have seen it)

Sorry if i haven't gived enough info, i am in a hurry...

Share this post


Link to post
Share on other sites



I recently discovered that you can do this (at least w/ my PC) by pressing Ctrl + Alt + Cursor. For the Cursor key, you press the direction you want the top of the screen to be. So, if you want your display to be upside-down...

Send("^!{down}")

Share this post


Link to post
Share on other sites

Well it's not for a single comp, so im afraid it won't work. I need it with a DLL call or similar...

Share this post


Link to post
Share on other sites

How odd, I'm just searching for the same thing.

Pleas post if you find anything useful @Persen.

Wonder if I did see a sample in a resource kit once (NT4)?

I did not have any luck searching msdn thought.

Anyone else have some input on this?

Share this post


Link to post
Share on other sites

This functionality is part of the video card drivers. On nvidia cards and intel graphic cards, it is possible to set a hotkey through the software that will change the screen orientation. However, if the driver does not support it, I believe nothing else will.


Who else would I be?

Share this post


Link to post
Share on other sites

The rotation thing like stated above is video card related. I can confirm that the ATI cards also have the hotkey rotation capability as this is what I have. Each manufacturer uses different hotkeys or does not define one at all (user-defined).

You might find one of my projects of interest as it deals with automating screen rotations. I used AutoIT to create hotkey EXEs and then wrote a com port monitoring app (also in AutoIT) to monitor what orientation my flat panel was in using a standard old-fashioned mercury switch (~$2).

Ultimately, I have 'automated screen rotation' whenever I rotate my flat panel...the screen automagically switches to the orientation that it is in for about $5 worth of parts!

Full dets, app, help, photos, DIY instructions, etc are here:

http://www.shrum.net/code/mercmon

Enjoy!


Sean Shrum :: http://www.shrum.net

All my published AU3-based apps and utilities

'Make it idiot-proof, and someone will make a better idiot'

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0