共用方式為


CToolBarCtrl::GetPressedImageList

Retrieves the image list that the current toolbar control uses to represent buttons in the pressed state.

CImageList* GetPressedImageList();

Return Value

Pointer to a CImageList that contains the image list for the current control, or NULL if no such image list is set.

Remarks

This method sends the TB_GETPRESSEDIMAGELIST message, which is described in the Windows SDK.

Requirements

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.

See Also

Concepts

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

TB_GETPRESSEDIMAGELIST

CImageList

CToolBarCtrl::SetPressedImageList