#define hotkey_id_handler (IDHOTKEY, FUNC) / IF (UMSG == WM_HOTKEY && WPARAM == IDHOTKEY) / {/ setmsghand (true); / func (); / lresult = 0; / if (ismsgHand ()) / return true; /}
Code description:
IDHOTKEY is the hotkey ID to be divided,
FUNC is a corresponding message handler.