Right click menus

This is a discussion on Right click menus within the Windows Programming forums, part of the Platform Specific Boards category; How can I create a menu so that when the user presses the right mouse button it pops up? This ...

  1. #1
    Registered User
    Join Date
    Nov 2001
    Posts
    202

    Right click menus

    How can I create a menu so that when the user presses the right mouse button it pops up? This is for Borland C++ 5.02. Thanks

  2. #2
    &TH of undefined behavior Fordy's Avatar
    Join Date
    Aug 2001
    Posts
    5,789
    Wait for the right button to be clicked in your Windows Procedure and then run the function TrackPopupMenuEx()....

    You need a menu setup....and you can pass flags to the function to home it in on the mouse cursor.....

    Look it up on MSDN

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Button click out of WM_COMMAND
    By Sober in forum Windows Programming
    Replies: 8
    Last Post: 05-03-2007, 10:07 PM
  2. Right Click Problem
    By fdy in forum Windows Programming
    Replies: 8
    Last Post: 05-21-2004, 09:09 AM
  3. mouse click coords and moving a rect
    By techrolla in forum Windows Programming
    Replies: 1
    Last Post: 03-07-2004, 09:49 PM
  4. Menu's
    By Benzakhar in forum Windows Programming
    Replies: 1
    Last Post: 02-20-2004, 10:13 PM
  5. Click button on dialog box to open window.
    By ooosawaddee3 in forum Windows Programming
    Replies: 1
    Last Post: 11-29-2002, 08:53 AM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21