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.
Determines whether the button has the current input focus.
virtual BOOL HasFocus() const;
Return Value
Nonzero if the button has the input focus; otherwise 0.
Remarks
The default implementation of this method returns nonzero if the button has the input focus or is a child or descendant window of the window that has the input focus. You can override this function to customize this behavior.
Requirements
Header: afxtoolbarbutton.h