VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

How to receive a ClassName and handle(HWND)of a given application and how to hide, show, minimize o

Richard Cemus  (2 Submissions)   Windows System Services   Visual Basic 5.0   Unknown Difficulty   Fri 11th February 2000   Mon 8th February 2021

How to receive a ClassName and handle(HWND)of a given application and how to hide, show, minimize or maximize other applications directly from

API Declarations


Private Declare Function GetClassName Lib "user32.dll" Alias "GetClassNameA" (ByVal hwnd As Long, ByVal lpClassName As String, ByVal nMaxCount As Long) As Long
Private Declare Function ShowWindow Lib "user32.dll" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Private Const SW_HIDE = 0
Private Const SW_SHOW = 5
Private Const SW_MAXIMIZE = 3
Private Const SW_MINIMIZE = 6
Private Const SW_NORMAL = 1


Rate How to receive a ClassName and handle(HWND)of a given application and how to hide, show, minimize o (2(2 Vote))
How to receive a ClassName and handle(HWND)of a given application and how to hide, show, minimize o.bas

How to receive a ClassName and handle(HWND)of a given application and how to hide, show, minimize o Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters