ButtonClick Event (Toolbar Control)
Windows - Visual C++
Description
The ButtonClick event is fired when
a Toolbar button is clicked.
DispId 0x01
Syntax
void OnButtonClick(short buttonID, LPCTSTR searchString);
The ButtonClick event syntax has these parts:
Part |
Description |
buttonID |
A short integer containing the button ID of the button that was clicked. |
searchString |
A String containing the text of the search edit box. |
Remarks
The searchString parameter is not
formatted as necessary for use by the Headline control's SearchCriteria
property. You can use the Utility control's CreateSearchCriterion
method to format this string.
See Also: CreateSearchCriterion SearchCriteria
Back to: Toolbar Events