Example App=notepad. Exe
The known conditions: the CWnd * PWND
CodePudding user response:
Click the menu item will send WM_COMMAND messages commonly, so consider SetWindowsHookEx Hook WH_GETMESSAGE or WH_CALLWNDPROCCodePudding user response:
Click the menu item will send WM_COMMAND messages commonly, so consider SetWindowsHookEx Hook WH_GETMESSAGE or WH_CALLWNDPROC