´ #VBIDEUtils#**********************************************
´ * Programmer Name : Waty Thierry
´ * Web Site : www.geocities.com/ResearchTriangle/6311/
´ * E-Mail : waty.thierry@usa.net
´ * Date : 22/10/98
´ * Time : 15:50
´ * Module Name : Start_Module
´ * Module Filename : Start.bas
´ *********************************************************
´ * Comments : Show/Hide the start button
´ *
´ ********************************************************
Private Declare Function FindWindow Lib "user32" Alias _
"FindWindowA" (ByVal lpClassName As String, _
ByVal lpWindowName As String) As Long
Private Declare Function FindWindowEx Lib "user32" Alias _
"FindWindowExA" (ByVal hWnd1 As Long, ByVal hWnd2 As Long, _
ByVal lpsz1 As String, ByVal lpsz2 As String) As Long
Private Declare Function ShowWindow Lib "user32" _
(ByVal hwnd As Long, ByVal nCmdShow As Long) As Long
Public Function hideStartButton()
´This Function Hides the Start Button´
OurParent& = FindWindow("Shell_TrayWnd", "")
OurHandle& = FindWindowEx(OurParent&, 0, "Button", _
vbNullString)
ShowWindow OurHandle&, 0
End Function
Public Function showStartButton()
´This Function Shows the Start Button´
OurParent& = FindWindow("Shell_TrayWnd", "")
OurHandle& = FindWindowEx(OurParent&, 0, "Button", _
vbNullString)
ShowWindow OurHandle&, 5
End Function
【VB源代码推荐:动态的显示/隐藏start按钮】相关文章:
2025年外省高中学业水平合格性考试成绩转入江苏认定的通告公布03-23
Vb中控件的自动排列03-23
写未来的作文300字03-23
Our Mother Is the Same 我们的妈妈是一样的03-23
小学父爱的作文600字03-23
07年4月北师大“中国古代文学史(一)”串讲(5)03-23
运动主题团日活动策划03-23
汪涵讲述小时候成长经历:鸡毛掸子的故事03-23
关于清明节的英语作文:清明节03-23
生态护坡技术创新措施论文03-23
