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.
Subject |
Author |
Date |
|
Anna Kraus
|
Nov 29, 2010 - 2:14 PM
|
I have menu buttons and separators in a toolbar of type CExtToolControlBar. When a button is selected via a right click I need to know which button or separator is selected. I can get the button selected by calling CExtToolControlBar::HitTest (point) but if a separator is selected HitTest returns -1. I have more than one separator on the toolbar and I need to know which one was selected. Thank you for your help
|
|
Technical Support
|
Dec 1, 2010 - 4:58 AM
|
Yes, the CExtToolControlBar::_HitTestImpl() internal method can be used for hit testing all the buttons, including separators.
|
|
Anna Kraus
|
Nov 30, 2010 - 11:22 AM
|
I believe I have solved this problem by calling CExtToolControlBar::_HitTestImpl (point). Please comment if this is not the correct method for solving my problem.
|
|