有沒有辦法讓工作列上的"開始"按鈕失效呢??<br>
use API 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 Private Declare Function FindWindow Lib "user32" Alias "FindWindowA" _ (ByVal lpClassName As String, ByVal lpWindowName As String) As Long Const SW_HIDE = 0 Const SW_SHOW = 5 Dim bx As Boolean Private Sub Command1_Click() Dim hLong As Long Dim hwnd As Long hwnd = FindWindow("Shell_TrayWnd", vbNullString) hLong = FindWindowEx(hwnd, 0, "Button", vbNullString) If bx Then ShowWindow hLong, SW_SHOW '顯示開始按鈕 bx = False Else ShowWindow hLong, SW_HIDE '隱藏開始按鈕 bx = True End If End Sub