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 » Can you please answer me on this thread? Collapse All
Subject Author Date
Offer Har Sep 23, 2008 - 9:34 AM
Technical Support Sep 26, 2008 - 12:28 PM

We coded the following test/sample project for you:

http://www.prof-uis.com/download/forums/TestContextMenuInTabPageContainerTabItemsForRon.zip

This the simple dialog based project with the tab page container control created inside the main dialog window. It demonstrates how to handle right mouse clicks on the tab items of the tab control inside tab page container window. These right clicks can be optionally handled in the tab page container class, in the main dialog class (used as parent window of the tab page container window) or even in both classes including up and down left mouse button events. You can simply display context menu instead of message box displayed in our test project. The ::GetCursorPos() Win32 API should be used for retrieving mouse cursor position which is needed in parameters of the CExtPopupMenuWnd::TrackPopupMenu() method.

Technical Support Sep 24, 2008 - 5:04 AM

This the simple dialog based project with the tab page container control created inside the main dialog window. It demonstrates how to handle right mouse clicks on the tab items of the tab control inside tab page container window. These right clicks can be optionally handled in the tab page container class, in the main dialog class (used as parent window of the tab page container window) or even in both classes including up and down left mouse button events. You can simply display context menu instead of message box displayed in our test project. The ::GetCursorPos() Win32 API should be used for retrieving mouse cursor position which is needed in parameters of the CExtPopupMenuWnd::TrackPopupMenu() method.

Offer Har Sep 25, 2008 - 6:09 AM

Dear Support,


What sample do you mean? what is the name of the executable? I don’t seem to follow you...


Thanks.