共用方式為


CMFCToolBarEditBoxButton::OnClick

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

virtual BOOL OnClick(
   CWnd* pWnd,
   BOOL bDelay = TRUE
);

Parameters

  • [in] pWnd
    Unused.

  • [in] bDelay
    Unused.

Return Value

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

Remarks

This method overrides the base class implementation (CMFCToolBarButton::OnClick) by returning a nonzero value if the internal CEdit object is visible.

Requirements

Header: afxtoolbareditboxbutton.h

See Also

Reference

CMFCToolBarEditBoxButton Class

Hierarchy Chart

CMFCToolBarButton::OnClick

CEdit Class