Sign in to follow this  
Followers 0
gcue

X,Y available coordinate range

3 posts in this topic

is there a way to define the available X,Y coordinates for desktop size. I would think it would probably be something to do with getting resolution first. but how do you know if the monitors are all side by side. if the monitors are stacked, that would create -XXXX and -YYYY coordinates which knowing the resolution won't really help.

thanks

Share this post


Link to post
Share on other sites



hi,

to get the x and y of a 2-monitor system (maybe also for more multiple-systems)

i use this:

$x = _WinAPI_GetSystemMetrics(78)
$y = _WinAPI_GetSystemMetrics(79)

Share this post


Link to post
Share on other sites

perfect!!!!!

many thanks!!!!!

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