Solved

How to get all available screen size for 2 or 4 monitors.

Posted on 2009-07-08
2
235 Views
Last Modified: 2013-12-17
   Hi experts!

  Im using C# 2008 , WinForm NET 2. I have save position of Winform and restore it when I open program. But & I have 1 small problem. My software work with 4 screen on 1 computer, which screen give more space in the right (X axis). Now & I work with 1 monitor, but again my program is restored his position with let say X = 2048 , which is not visible in this 1 screen J

 So I need solution to get max. screen size and if my save position is not possible to not restore it. How to do this? Help please &
0
Comment
Question by:dvplayltd
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
2 Comments
 
LVL 55

Expert Comment

by:Jaime Olivares
ID: 24803817
try with:
System.Windows.Forms.Screen.GetBounds()
0
 
LVL 55

Accepted Solution

by:
Jaime Olivares earned 500 total points
ID: 24803833
Another alternative:
System.Windows.Forms.SystemInformation.VirtualScreen
0

Featured Post

Webinar: Aligning, Automating, Winning

Join Dan Russo, Senior Manager of Operations Intelligence, for an in-depth discussion on how Dealertrack, leading provider of integrated digital solutions for the automotive industry, transformed their DevOps processes to increase collaboration and move with greater velocity.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

IP addresses can be stored in a database in any of several ways.  These ways may vary based on the volume of the data.  I was dealing with quite a large amount of data for user authentication purpose, and needed a way to minimize the storage.   …
More often than not, we developers are confronted with a need: a need to make some kind of magic happen via code. Whether it is for a client, for the boss, or for our own personal projects, the need must be satisfied. Most of the time, the Framework…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

749 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question