include windowsx.h //this seems to be working. if I call it a 2nd time it fails if(!RegisterHotKey(NULL, IDC_OP_START, 0, 0x70)) MessageBox("F1 Register Failed"); WPARAM wParam; LPARAM lParam; HANDLE_MSG(NULL, WM_HOTKEY, OnStartTest) void COpui::OnStartTest() { //my routine in here }
case
HANDLE_MSG
switch {}
HANDLE_WM_HOTKEY
WM_HOTKEY
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)