The Artima Developer Community
Sponsored Link

C# Answers Forum
Screen Resolution

2 replies on 1 page. Most recent reply: Dec 10, 2005 9:05 PM by Wasantha Wijayarathna

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 2 replies on 1 page
Branko

Posts: 9
Nickname: orbusian
Registered: Feb, 2003

Screen Resolution Posted: Sep 24, 2003 4:38 PM
Reply to this message Reply
Advertisement
How can I get the screen resolution !
When Form loads,I want to set the Size of the Form by Screen Rssolution !


Russ

Posts: 1
Nickname: russwood
Registered: Oct, 2003

Re: Screen Resolution Posted: Oct 17, 2003 5:00 AM
Reply to this message Reply
You can use System.Windows.Forms.Screen.GetBounds() to get total size, there is another method that will return the size excluding the task bar, but I can't remember which it is.

Wasantha Wijayarathna

Posts: 4
Nickname: wasu
Registered: Dec, 2005

Re: Screen Resolution Posted: Dec 10, 2005 9:05 PM
Reply to this message Reply
Please try with this System.Windows.Forms.Screen.PrimaryScreen.Bounds.Width

Flat View: This topic has 2 replies on 1 page
Topic: first C++ .NET program Previous Topic   Next Topic Topic: help about fingerprint

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use