|
-
May 11th, 2006, 08:13 AM
#1
Thread Starter
Member
[RESOLVED][02/03] How to tell the screen resolution settings?
Hi.
I want to make a little popup that fads in at the bottom of the screen similar to what Outlook does for new emails. I can do the fading. I am just looking for a way to tell the screen resolution so I can find the bottom. i figure it's in System.? but I don't know where. Any thoughts?
Thanks.
Mike
Last edited by mndepaul; May 11th, 2006 at 08:47 AM.
-
May 11th, 2006, 08:34 AM
#2
Re: [02/03] How to tell the screen resolution settings?
System.Windows.Forms.Desktop.PrimaryScreen.WorkingArea.Width
System.Windows.Forms.Desktop.PrimaryScreen.WorkingArea.Height
-
May 11th, 2006, 08:47 AM
#3
Thread Starter
Member
Re: [02/03] How to tell the screen resolution settings?
Thanks!
It's little different in 2003, but I was able to find it with your help.
System.Windows.Forms.Screen.PrimaryScreen.WorkingArea.Height
-
May 11th, 2006, 08:51 AM
#4
Re: [RESOLVED][02/03] How to tell the screen resolution settings?
sorry man i forgot that i forgot to change the desktop to screen. it was a variable. just copied and pasted the code from one of my apps, but at least you got it figured out.
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
|