VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

WorkSpace Class

Dane Jones  (2 Submissions)   Miscellaneous   Visual Basic 3.0   Intermediate   Wed 3rd February 2021

Class object that gets the systems available screen workspace dimmentions and can also position a form to one of 9 screen quadrants. All API.. No SysInfo Control!

Inputs
Input Form to position and additive enumerations signifying the desired position.

Assumes
Also include an AutoRefresh flag if you want the screen metrics updated on each system call.

Returns
Provides property values to return workspace dimmentions if needed

Side Effects
None that I am aware of...

API Declarations
Private Declare Function SystemParametersInfo Lib "user32" Alias "SystemParametersInfoA" (ByVal uAction As Long, ByVal uParam As Long, lpvParam As Any, ByVal fuWinIni As Long) As Long

Rate WorkSpace Class (3(3 Vote))

Download WorkSpace Class

WorkSpace Class Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters