VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Systemwide Hotkey, more than only activate the own app. The Message WM_HOTKEY is sent to the form s

Ascher Stefan  (8 Submissions)   Miscellaneous   Visual Basic 5.0   Unknown Difficulty   Tue 28th March 2000   Mon 8th February 2021

Systemwide Hotkey, more than only activate the own app. The Message WM_HOTKEY is sent to the form specified as ownerform, so you have to

API Declarations


(ByVal hWnd As Long, ByVal id As Long, _
ByVal fsModifiers As Long, ByVal vk As Long) As Long
Private Declare Function UnregisterHotKey Lib "user32" _
(ByVal hWnd As Long, ByVal id As Long) As Long

Public Enum ModConst
MOD_ALT = &H1 'Alt Key
MOD_CONTROL = &H2 'Ctrl Key
MOD_SHIFT = &H4 'Shift Key
End Enum

'Count of Hotkeys
Private m_hkCount As Integer

Rate Systemwide Hotkey, more than only activate the own app. The Message WM_HOTKEY is sent to the form s (1(1 Vote))
Systemwide Hotkey, more than only activate the own app. The Message WM_HOTKEY is sent to the form s.bas

Systemwide Hotkey, more than only activate the own app. The Message WM_HOTKEY is sent to the form s Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters