Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Right click on tab item in a tabstrip(CExtTabWnd) Collapse All
Subject Author Date
Debabrata Mukherjee Sep 13, 2007 - 3:55 AM

How can I handle the right click on a tab item in a CExtTabWnd tabstrip. I suppose theres no overridable method to accomplish this.
I want to display a pop-up context menu on right clciking the items on the tabstrip.

How can that be done and where exactly the message maps need to be inserted i.e. for the mainframe class or the tabwnd class etc.Please suggest. Can you just give me a skeletal method /sample for it.

Thanks.

Suhai Gyorgy Sep 13, 2007 - 6:30 AM

Check out Help for CExtTabWnd::OnTabWndClickedItem method. There you can test if right mouse button is clicked/released and on which tab item.