共用方式為


CMFCToolBarImages::Save

Stores the toolbar images in a file if this set of toolbar images contains user-defined images.

BOOL Save(
   LPCTSTR lpszBmpFileName=NULL 
);

Parameters

  • lpszBmpFileName
    A path to a disk file.

Return Value

TRUE if the toolbar images were saved successfully; otherwise FALSE.

Remarks

Call this method to store the user-defined images into a disk file. If lpszBmpFileName is NULL, the method stores the bitmap into the file from which the bitmap was loaded by the CMFCToolBarImages::Load method.

Requirements

Header: afxtoolbarimages.h

See Also

Reference

CMFCToolBarImages Class

Hierarchy Chart