Поделиться через


CToolBar::SetBitmap

Call this member function to set the bitmap image for the toolbar.

BOOL SetBitmap(
   HBITMAP hbmImageWell 
);

Параметры

  • hbmImageWell
    Handle of a bitmap image that is associated with a toolbar.

Возвращаемое значение

Nonzero if successful; otherwise 0.

Заметки

For example, call SetBitmap to change the bitmapped image after the user takes an action on a document that changes the action of a button.

Требования

Header: afxext.h

См. также

Основные понятия

CToolBar Class

CToolBar Members

Hierarchy Chart