Windows Help
... for rookies.
Can you Windows developer guys tell me how to use the SetWindowsHook API (or similar) to hook into an external app message? Specifically, I'm inserting custom menus into an external app and I need to trap the message (WM_SYSCOMMAND I think, case the ID of that menu item and act) being generated when that menu is clicked, to act on it from the add on tool.
So the add on tool inserts a new menu into the external app (that part I've figured out) but also needs to act on the mouse click event of the custom menu.
If anyone could help me figure this out, thanks in advance. My googling on this led to a few avenues I've investigated but nothing that bore fruit.
|