|
|
Title | Open the Windows Start menu by using SendMessage |
Description | This example shows how to open the Windows Start menu by using SendMessage in Visual Basic 6. It uses SendMessage to send the WM_SYSCOMMAND message with the SC_TASKLIST parameter. |
Keywords | Start menu, open Start menu, SendMessage |
Categories | Software Engineering, Windows |
|
|
Thanks to Alexander Klimoff.
The program sense the WM_SYSCOMMAND message with the SC_TASKLIST parameter.
|
|
Private Sub Command1_Click()
SendMessage hwnd, WM_SYSCOMMAND, ByVal SC_TASKLIST, _
ByVal 0&
End Sub
|
|
|
|
|
|