VBcoders Guest



Don't have an account yet? Register
 


Forgot Password?



Show/Hide the start button

by Waty Thierry (60 Submissions)
Category: Windows System Services
Compatability: Visual Basic 4.0 (32-bit)
Difficulty: Unknown Difficulty
Originally Published: Tue 30th March 1999
Date Added: Mon 8th February 2021
Rating: (1 Votes)

Show/Hide the start button

Rate Show/Hide the start button



' * Programmer Name  : Waty Thierry
' * Web Site         : www.geocities.com/ResearchTriangle/6311/
' * E-Mail           : [email protected]
' * Date             : 22/10/98
' * Time             : 15:50
' * Module Name      : Start_Module
' * Module Filename  : Start.bas
' **********************************************************************
' * Comments         : Show/Hide the start button
' *
' **********************************************************************

Declare Function ShowWindow Lib "user32" (ByVal hwnd As Long, ByVal nCmdShow As Long) As Long

Function hideStartButton()
   'This Function Hides the Start Button'
   OurParent& = FindWindow("Shell_TrayWnd", "")
   OurHandle& = FindWindowEx(OurParent&, 0, "Button", vbNullString)
   ShowWindow OurHandle&, 0
End Function

Function showStartButton()
   'This Function Shows the Start Button'
   OurParent& = FindWindow("Shell_TrayWnd", "")
   OurHandle& = FindWindowEx(OurParent&, 0, "Button", vbNullString)
   ShowWindow OurHandle&, 5
End Function



Download this snippet    Add to My Saved Code

Show/Hide the start button Comments

No comments have been posted about Show/Hide the start button. Why not be the first to post a comment about Show/Hide the start button.

Post your comment

Subject:
Message:
0/1000 characters