Jump to content
Sign in to follow this  

Help Determining Color Mode

Recommended Posts

Ive Managed to figure out howto get the Resolution of a given Machine by canabalizing some of Larrys Scripts.

$VIRTUALDESKTOPWIDTH = DLLCall("user32.dll","int","GetSystemMetrics","int",$SM_VIRTUALWIDTH)
$VIRTUALDESKTOPHEIGHT = DLLCall("user32.dll","int","GetSystemMetrics","int",$SM_VIRTUALHEIGHT)

From this i whould also Guess that i can get the Color mode from user32.dll, however i can find no Documentation on this. Any help, or just a pointer to a location i can read about retrieving info from the dll whould be apreciated.

There is always a butthead in the crowd, no matter how hard one tries to keep them out.......Volly

Share this post

Link to post
Share on other sites

wouldn't this get you the same information?

MsgBox(0,"H x W", @DesktopHeight & " x " & @DesktopWidth & @LF & @DesktopDepth)

SciTE for AutoItDirections for Submitting Standard UDFs


Don't argue with an idiot; people watching may not be able to tell the difference.


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  

  • Create New...