Is there someone know How do we hide the taskbar ( the start button from the window)
when we run the VB program?
THX.....:p
Printable View
Is there someone know How do we hide the taskbar ( the start button from the window)
when we run the VB program?
THX.....:p
From www.allapi.net:
VB Code:
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 Declare Function FindWindow Lib "user32" Alias _ "FindWindowA" (ByVal lpClassName As String, ByVal _ lpWindowName As String) As Long Const SWP_HIDEWINDOW = &H80 Const SWP_SHOWWINDOW = &H40 Code to Hide the Taskbar Dim Thwnd as Long Thwnd = FindWindow("Shell_traywnd", "") Call SetWindowPos(Thwnd, 0, 0, 0, 0, 0, SWP_HIDEWINDOW) Code to Show the Taskbar Dim Thwnd as Long Thwnd = FindWindow("Shell_traywnd", "") Call SetWindowPos(Thwnd, 0, 0, 0, 0, 0, SWP_SHOWWINDOW)
Thx...
But how we know the lpClassName, and the lpWindowName?
What does it means?
What class name do we point ?
What is the meaning of window handle? why is the parameter is HWND, we always use Me.Hwnd? and what is the different with hdc?
And what is the hwndInsertAfter?
Oh yeah... if we want to make a dynamic control from SSTAB, Winsock ( not the VB general tool ), how we know the classname?
and the license?
THX... a lot
:rolleyes: