Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
CMFCRibbonApplicationButton::SetImage

CMFCRibbonApplicationButton::SetImage

Assigns an image to the application button.

void SetImage(
   UINT uiBmpResID 
);
void SetImage(
   HBITMAP hBmp 
);

[in] uiBmpResID

The resource ID of the image to display on the application button.

[in] hBmp

A handle to a bitmap to display on the application button.

Use this method to assign a new image to the ribbon application button after you create the button. The application button is located in the upper-left corner of the application window.

Header: afxRibbonBar.h

Show:
© 2015 Microsoft