p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   C++ Programming (http://p2p.wrox.com/forumdisplay.php?f=89)
-   -   right click on a menu item (http://p2p.wrox.com/showthread.php?t=57208)

chuckcottle April 27th, 2007 09:18 AM

right click on a menu item
 
I am trying to implement a menu item which can be right clicked on to bring up a pop up menu with operations that can be performed on that item, similar to how you can right click on an item in the IE favorites menu to rename, delete,etc. Does anyone know how to implement this feature?

Chuck Cottle
Advanced Inspection and Measurement

Geo121 April 27th, 2007 11:14 AM

It depends on your program I would assume that you are planning on using the Win32 API correct? If so you can use the API features to apply this effect let me know about your plans and I can guide you from there

~ Geo

~ Don't take life too seriously, you'll never get out alive!

chuckcottle April 27th, 2007 12:08 PM

To be specific, I built the program using the MFC App Wizard. It is dialog based. I have been trying to do this using OnNcHitTest and MenuItemFromPoint. Thanks for your help

Chuck Cottle
Advanced Inspection and Measurement

chuckcottle May 14th, 2007 10:34 AM

If its a problem with MFC, can anyone tell me how to do it with the Win32 API and I'll see about translating that myself.


All times are GMT -4. The time now is 08:57 AM.

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.