|
-
Mar 9th, 2002, 03:19 PM
#1
Thread Starter
Member
Menus and API
The best way to explain this is by example:
Lets say I have Internet Explorer. When a user hovers over "Paste" in the "Edit" -> "Paste" menu I want my program to aknowlage this and DO something.
ANY HELP would be appreciated.
Brad
-
Mar 11th, 2002, 10:09 PM
#2
Frenzied Member
Subclass IE once it's opened for WM_COMMAND. The 3rd parameter coming back to you (wparam I think) will have the ID of the menu that was clicked. From there you can get the menu's text and do whatever you need to if it's "Paste".
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|