|
-
Dec 23rd, 2009, 10:50 AM
#5
Re: Get X,Y windows
 Originally Posted by gonzalioz
Hi,
Bottom, left, right and top functions return the amount of space in pixels between them and their parent control.
You can get the resolution of your screen without the windows taskbar using the My class:
Code:
My.Computer.Screen.GetWorkingArea
If you want the screen resolution including the windows taskbar you have to use:
Code:
My.Computer.Screen.GetBounds
[EDIT]
O lol... somebody already replied. Forgot to refresh  .
Just remember that my.computer.screen returns the primary display, which is not always the one an application may be open in. I have 4 LCDs, and most of the time an app is not going to be in my primary monitor.
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
|