Partilhar via


CMFCToolBarImages::UpdateImage

Updates a user-defined toolbar image from a bitmap.

BOOL UpdateImage(
   int iImage,
   HBITMAP hbmp 
);

Parameters

  • [in] iImage
    The zero-based index of the image to update.

  • [in] hbmp
    A handle to the bitmap from which to update the image.

Return Value

TRUE if the image was updated successfully; FALSE if the image list is not user-defined or temporary.

Requirements

Header: afxtoolbarimages.h

See Also

Reference

CMFCToolBarImages Class

Hierarchy Chart