VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



WorkSpace Class

by Dane Jones (2 Submissions)
Category: Miscellaneous
Compatability: Visual Basic 3.0
Difficulty: Intermediate
Date Added: Wed 3rd February 2021
Rating: (2 Votes)

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.
Code 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

Download WorkSpace Class

Download WorkSpace Class (9 KB)

WorkSpace Class Comments

No comments have been posted about WorkSpace Class. Why not be the first to post a comment about WorkSpace Class.

Post your comment

Subject:
Message:
0/1000 characters