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 the image index of the button.
virtual void SetImage(
int iImage
);
Parameters
- [in] iImage
The index of the image in the collection of toolbar images.
Remarks
If the toolbar button is a separator, iImage refers to the new width of the separator button.
If iImage is less than zero, this method disables drawing of the image and enables drawing of the text label of the button.
Requirements
Header: afxtoolbarbutton.h