Hi,
I checked the FAQ'a but nothing there, so I hope know one minds me posting a simple question.
I have the following code in a module in my vb project, i call it from my main code window to hide the taskbar, its works just fine, but I really dont understand what is happening. Any guidence appreciated,
Rob
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
Public Const SWP_SHOWWINDOW = &H40
Public Const SWP_HIDEWINDOW = &H80
I checked the FAQ'a but nothing there, so I hope know one minds me posting a simple question.
I have the following code in a module in my vb project, i call it from my main code window to hide the taskbar, its works just fine, but I really dont understand what is happening. Any guidence appreciated,
Rob
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
Public Const SWP_SHOWWINDOW = &H40
Public Const SWP_HIDEWINDOW = &H80