VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Hide windows taskbar

by Anonymous (267 Submissions)
Category: Windows System Services
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Fri 25th December 1998
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Hide windows taskbar

API Declarations


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

Public Const SWP_HIDEWINDOW = &H80
Public Const SWP_SHOWWINDOW = &H40

Rate Hide windows taskbar




'hide the taskbar
rtn = FindWindow("Shell_traywnd", "") 'get the Window
Call SetWindowPos(rtn, 0, 0, 0, 0, 0, SWP_HIDEWINDOW) 'hide the Tasbar
'show th taskbar
rtn = FindWindow("Shell_traywnd", "") 'get the Window
Call SetWindowPos(rtn, 0, 0, 0, 0, 0, SWP_SHOWWINDOW) 'show the Taskbar

Download this snippet    Add to My Saved Code

Hide windows taskbar Comments

No comments have been posted about Hide windows taskbar. Why not be the first to post a comment about Hide windows taskbar.

Post your comment

Subject:
Message:
0/1000 characters