Bagikan melalui


CToolBarCtrl::GetDisabledImageList

Retrieves the image list that a toolbar control uses to display disabled buttons.

CImageList* GetDisabledImageList( ) const;

Return Value

A pointer to a CImageList object, or NULL if no disabled image list is set.

Remarks

This member function implements the behavior of the Win32 message TB_GETDISABLEDIMAGELIST, as described in the Windows SDK. The MFC implementation of GetDisabledImageList uses a CImageList object containing the toolbar control's button images, rather than a handle to an image list.

Requirements

Header: afxcmn.h

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart

CToolBarCtrl::SetDisabledImageList

CToolBarCtrl::GetHotImageList

CToolBarCtrl::GetImageList

Other Resources

CToolBarCtrl Members