|
|
|
|
|
Dicas
|
|
Visual Basic (Windows)
|
|
|
Título da Dica: Abrir o menu iniciar do Windows
|
|
|
|
Postada em 3/8/2003 por Tekki
Private Declare Sub keybd_event Lib "user32" (ByVal bVk As Byte, ByVal bScan As Byte, _ ByVal dwFlags As Long, ByVal dwExtraInfo As Long)
Private Const KEYEVENTF_KEYUP = &H2 Private Const MENU_KEYCODE = 91
Use estes códigos:
' Botão iniciar pressionado keybd_event MENU_KEYCODE, 0, 0, 0
' Solta o botão iniciar keybd_event MENU_KEYCODE, 0, KEYEVENTF_KEYUP, 0
|
|
|
|
|