VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Show,Hide,Maximize,Minimize,Restore and more with ShowWindow API

Karthikeyan  (187 Submissions)   Windows API Call/Explanation   Visual Basic 5.0   Unknown Difficulty   Wed 1st August 2001   Mon 8th February 2021

Show,Hide,Maximize,Minimize,Restore and more with ShowWindow API

API Declarations


Const SW_SHOWNORMAL = 1
Const SW_SHOWMINIMIZED = 2
Const SW_MAXIMIZE = 3
Const SW_SHOWNOACTIVATE = 4
Const SW_SHOW = 5
Const SW_MINIMIZE = 6
Const SW_SHOWMINNOACTIVE = 7
Const SW_SHOWNA = 8
Const SW_RESTORE = 9
Private Declare Function ShowWindow Lib "user32.dll" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Private Declare Sub Sleep Lib "kernel32.dll" (ByVal dwMilliseconds As Long)

Rate Show,Hide,Maximize,Minimize,Restore and more with ShowWindow API (1(1 Vote))
Show,Hide,Maximize,Minimize,Restore and more with ShowWindow API.bas

Show,Hide,Maximize,Minimize,Restore and more with ShowWindow API Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters