What happened to the Messenger Plus! forums on msghelp.net?
Shoutbox » MsgHelp Archive » Skype & Technology » Tech Talk » [SOLVED] Visual Basic Question - MaxWidth...

[SOLVED] Visual Basic Question - MaxWidth...
Author: Message:
CookieRevised
Elite Member
*****

Avatar

Posts: 15517
Reputation: 173
– / Male / Flag
Joined: Jul 2003
Status: Away
RE: Visual Basic Question - MaxWidth...
What do you mean by maximum width/height of the screen?

The actual width/height of the working area (thus desktop minus taskbar)?
=> you need to use some Windows API to get it (SystemParametersInfo API with the constant SPI_GETWORKAREA)

The actual width/height of the desktop screen?
=> Screen.Width, Screen.Height

The actual width/height of a window/form?
=> Form1.Width, Form.Height


---------------

If you are searching for properties of objects, you can simply type an object's name, enter the point, and a dropdown list will be shown with all available properties... scroll that list and look at the names...

Also, check out the properties window of controls. They very clearly show each property of a control.

[Image: attachment.php?pid=503704]

This post was edited on 11-02-2005 at 02:25 AM by CookieRevised.
.-= A 'frrrrrrrituurrr' for Wacky =-.
11-02-2005 02:12 AM
Profile PM Find Quote Report
« Next Oldest Return to Top Next Newest »

Messages In This Thread
[SOLVED] Visual Basic Question - MaxWidth... - by DJeX on 11-02-2005 at 02:05 AM
RE: Visual Basic Question - MaxWidth... - by CookieRevised on 11-02-2005 at 02:12 AM
RE: Visual Basic Question - MaxWidth... - by dotNorma on 11-02-2005 at 02:25 AM
RE: Visual Basic Question - MaxWidth... - by DJeX on 11-02-2005 at 03:31 AM


Threaded Mode | Linear Mode
View a Printable Version
Send this Thread to a Friend
Subscribe | Add to Favorites
Rate This Thread:

Forum Jump:

Forum Rules:
You cannot post new threads
You cannot post replies
You cannot post attachments
You can edit your posts
HTML is Off
myCode is On
Smilies are On
[img] Code is On