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
Printable View
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
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