VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Add this Code To Hide\Show TaskBar

Ihab Abu Hilal  (4 Submissions)   Windows System Services   Visual Basic 5.0   Unknown Difficulty   Thu 31st January 2002   Mon 8th February 2021

Add this Code To Hide\Show TaskBar

API Declarations


'Insert 2 CommandButtons to your form (named Command1 and Command2).
'When you will press the First button the Taskbar will Disappear.
'To show the TaskBar again press the second button.
'Insert this code to the module :

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_HIDEWINDOW = &H80
Public Const SWP_SHOWWINDOW = &H40



Rate Add this Code To Hide\Show TaskBar (2(2 Vote))
Add this Code To Hide\Show TaskBar.bas

Add this Code To Hide\Show TaskBar Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters