共用方式為


CMFCToolBarButton::GetParentWnd

Retrieves the parent window of the button.

CWnd* GetParentWnd() const;

Return Value

The parent window of the button.

Requirements

Header: afxtoolbarbutton.h

See Also

Reference

CMFCToolBarButton Class

Hierarchy Chart