Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Called by the framework when a mouse button has been clicked or the DoClick stock method has been invoked.
virtual void OnClick(
USHORT iButton
);
Parameters
iButton
Index of a mouse button. Can have one of the following values:LEFT_BUTTON The left mouse button was clicked.
MIDDLE_BUTTON The middle mouse button was clicked.
RIGHT_BUTTON The right mouse button was clicked.
Remarks
The default implementation calls COleControl::FireClick.
Override this member function to modify or extend the default handling.
Requirements
Header: afxctl.h