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.
Sets to the default value the image that is associated with the button.
virtual void ResetImageToDefault();
Remarks
This method retrieves the default image from its parent toolbar by using the CMFCToolBar::GetDefaultImage method. If the button has no associated default image, this method sets the text label of the button according to its string resource by using the CStringT::LoadString method. For more information about string resources, see Working with Resource Files.
This method does nothing if the button has a user-defined image.
Requirements
Header: afxtoolbarbutton.h