Share via


CMFCDropDownToolbarButton::OnClickUp

Called by the framework when the user releases the mouse button.

virtual BOOL OnClickUp();

Return Value

Nonzero if the button processes the click message; otherwise 0.

Remarks

This method extends the base class implementation, CMFCToolBarButton::OnClickUp, by updating the state of the drop-down toolbar.

This method stops the drop-down toolbar timer if it is active. It closes the drop-down toolbar if it is open.

For more information about the drop-down toolbar and drop-down toolbar timer, see CMFCDropDownToolbarButton::OnClick.

Requirements

Header: afxdropdowntoolbar.h

See Also

Concepts

MFC Hierarchy Chart

Reference

CMFCDropDownToolbarButton Class

CMFCToolBarButton::OnClickUp

CMFCDropDownToolbarButton::OnClick