PDA

Click to See Complete Forum and Search --> : Assigning CONST value for HotKeys API???


mikef
Feb 16th, 2001, 08:19 AM
Option Explicit

Private Declare Function SendMessage Lib "user32" _
Alias "SendMessageA" (ByVal hwnd As Long, _
ByVal wMsg As Long, ByVal wParam As Long, _
lParam As Long) As Long

Private Const WM_SETHOTKEY = &H32
'// Shift + A
Private Const HK_SHIFTA = &H141
'// Shift * B
Private Const HK_SHIFTB = &H142
'// Control + A
Private Const HK_CONTROLA = &H241
Private Const HK_ALTZ = &H45A

In the above code the const are being assigned a value &H and then some numbers. Where do I find a list of values like these for other keys?? Say the arrow keys..etc.??

Thanks to anyone for help...