CToolBarCtrl::SetPressedImageList
Sets the image list that the current toolbar control uses to represent buttons in the pressed state.
CImagelist* SetPressedImageList(
int iImageID,
CImageList* pImageList
);
Параметры
Parameter |
Description |
---|---|
[in] iImageID |
The zero-based index of the image list. Set this parameter to zero if you use only one image list. |
[in] pImageList |
Pointer to a CImageList that contains the new image list. |
Возвращаемое значение
Pointer to a CImageList that contains the previous image list for the current control, or NULL if no such image list was set.
Заметки
This method sends the TB_SETPRESSEDIMAGELIST message, which is described in the Windows SDK.
Требования
Header: afxcmn.h
This control is supported in Windows Vista and later.
Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.