screen resolution
-
I hope this is an easy question: How do i find the screen resolution in .NET? I want to make sure that if the resolution was reduced, my program won't come up out of the visible range. Thanks, Steve
you can get the rectangle that defines the desktop boundaries with Rectangle DTRect = Screen.GetBounds(); To get the working area (destop minus taskbar and docked windows): Screen.GetWorkingArea(Screen.GetBounds()); Some ideas are so stupid that only an intellectual could have thought of them - George Orwell
-
you can get the rectangle that defines the desktop boundaries with Rectangle DTRect = Screen.GetBounds(); To get the working area (destop minus taskbar and docked windows): Screen.GetWorkingArea(Screen.GetBounds()); Some ideas are so stupid that only an intellectual could have thought of them - George Orwell