Results 1 to 2 of 2

Thread: Menus and API

  1. #1

    Thread Starter
    Member
    Join Date
    Sep 2001
    Location
    Nashville, Tennessee, USA
    Posts
    35

    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

  2. #2
    Frenzied Member Shawn N's Avatar
    Join Date
    Dec 2001
    Location
    Houston
    Posts
    1,631
    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".
    Please rate my post.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width