Click here to Skip to main content
16,015,072 members
Home / Discussions / C#
   

C#

 
GeneralRe: oops... Pin
20-Apr-02 15:28
suss20-Apr-02 15:28 
GeneralRe: oops... Pin
Neil Van Note20-Apr-02 19:37
Neil Van Note20-Apr-02 19:37 
GeneralRe: oops... Pin
20-Apr-02 22:54
suss20-Apr-02 22:54 
GeneralMulti monitors Pin
Christian Graus20-Apr-02 14:59
protectorChristian Graus20-Apr-02 14:59 
GeneralRe: Multi monitors Pin
Paul M Watt20-Apr-02 15:39
mentorPaul M Watt20-Apr-02 15:39 
GeneralRe: Multi monitors Pin
Christian Graus20-Apr-02 15:58
protectorChristian Graus20-Apr-02 15:58 
GeneralRe: Multi monitors Pin
Paul M Watt20-Apr-02 17:03
mentorPaul M Watt20-Apr-02 17:03 
GeneralRe: Multi monitors Pin
Christian Graus20-Apr-02 17:36
protectorChristian Graus20-Apr-02 17:36 
kilowatt wrote:
The experience that I have had with multi-monitor support has shown me that each screen comprises a sub-rectangle in the entire large screen. The primary monitor will always be located at (0,0), for backward compatibility.

That can be true, if the computer is set up to treat the monitors as one large desktop.

kilowatt wrote:
I am curious what the bounds value for each screen returns. Are they both located at (0,0), or are they arranged logically on the virtual desktop like the documentation suggests.

No, they return co-ordinates arranged as if they were one desktop. But if I draw onto my primary desktop to negative co-ordinates in the X direction, nothing appears on my secondary monitor, which is on the left.

kilowatt wrote:
What does the virtual desktop setting return? Does it still not return a very large rectangle where both of your monitors are found?

It returns a large rectangle, my problem is that I cannot use any values I get from Screen to actually access the secondary desktop.

kilowatt wrote:
I don't have Visual Studio .Net at home, so I can't really test this, but I have done it with Visual Basic. From reading the documentation, I believe that Visual Basic and C# perfrom this operation in much the same way. I do not know if this will help you, but there is a VB sample in MSDN called MultiMon.exe.

Is it VB.NET ?

kilowatt wrote:
If I come up with something else I will let you know. Good Luck.

Thanks for your help. I expected it to work the way you are suggesting, or expose a method to actually *access* a screen, but it doesn't appear to be the case.


Christian

The tragedy of cyberspace - that so much can travel so far, and yet mean so little.

"But there isn't a whole lot out there that pisses me off more than someone leaving my code looking like they leaned on the keyboard and prayed that it would compile.
- Jamie Hale, 17/4/2002
GeneralRe: Multi monitors Pin
Christian Graus21-Apr-02 10:52
protectorChristian Graus21-Apr-02 10:52 
GeneralRe: Multi monitors Pin
Paul M Watt21-Apr-02 12:07
mentorPaul M Watt21-Apr-02 12:07 
QuestionNumber only edit boxes ??? Pin
Christian Graus20-Apr-02 11:12
protectorChristian Graus20-Apr-02 11:12 
AnswerRe: Number only edit boxes ??? Pin
James T. Johnson20-Apr-02 12:20
James T. Johnson20-Apr-02 12:20 
GeneralRe: Number only edit boxes ??? Pin
Christian Graus20-Apr-02 12:26
protectorChristian Graus20-Apr-02 12:26 
GeneralRe: Number only edit boxes ??? Pin
James T. Johnson20-Apr-02 12:44
James T. Johnson20-Apr-02 12:44 
GeneralRe: Number only edit boxes ??? Pin
Neil Van Note20-Apr-02 19:06
Neil Van Note20-Apr-02 19:06 
GeneralRe: Number only edit boxes ??? Pin
Mazdak20-Apr-02 19:08
Mazdak20-Apr-02 19:08 
GeneralRe: Number only edit boxes ??? Pin
David Wengier20-Apr-02 12:51
David Wengier20-Apr-02 12:51 
QuestionC# Wizards? Pin
Derek Price19-Apr-02 9:28
Derek Price19-Apr-02 9:28 
AnswerRe: C# Wizards? Pin
ez219-Apr-02 9:41
ez219-Apr-02 9:41 
GeneralRe: C# Wizards? Pin
Derek Price19-Apr-02 9:55
Derek Price19-Apr-02 9:55 
GeneralRe: C# Wizards? Pin
ez219-Apr-02 14:07
ez219-Apr-02 14:07 
GeneralRe: C# Wizards? Pin
BLaZiNiX21-Apr-02 18:35
BLaZiNiX21-Apr-02 18:35 
GeneralRe: C# Wizards? Pin
Neil Van Note19-Apr-02 20:53
Neil Van Note19-Apr-02 20:53 
GeneralConnection String Pin
Mazdak19-Apr-02 3:52
Mazdak19-Apr-02 3:52 
GeneralRe: Connection String Pin
Neil Van Note19-Apr-02 7:56
Neil Van Note19-Apr-02 7:56 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.