VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Make your form cover the entire screen a.k.a fullscreen mode

Nokiocab25  (3 Submissions)   Custom Controls/Forms/Menus   Visual Basic 5.0   Unknown Difficulty   Sat 5th July 2003   Mon 8th February 2021

Make your form cover the entire screen a.k.a fullscreen mode

API Declarations



Private Type RECT
Left As Long
Top As Long
Right As Long
Bottom As Long
End Type

Private Const SWP_NOACTIVATE = &H10
Private Const SWP_NOZORDER = &H4
Private Const SWP_SHOWWINDOW = &H40

Private Const HWND_TOP = 0
Private Const BORDER_NONE = 0

Private Declare Function GetDesktopWindow Lib "user32.dll" () As Long

Private Declare Function GetClientRect Lib "user32" _
(ByVal hWnd As Long, lpRect As RECT) As Long

Private Declare Function SetWindowPos Lib "user32" (ByVal hWnd As Long, _
ByVal hWndInsertAfter As Long, ByVal X As Long, ByVal Y As Long, _
ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long

Rate Make your form cover the entire screen a.k.a fullscreen mode (1(1 Vote))
Make your form cover the entire screen a.k.a fullscreen mode.bas

Make your form cover the entire screen a.k.a fullscreen mode Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters