Compartilhar via


CButton::GetImageList

Call this method to get the image list from the button control.

BOOL GetImageList(
   PBUTTON_IMAGELIST pbuttonImagelist 
);

Parameters

  • pbuttonImagelist
    A pointer to the image list of the CButton object.

Return Value

Nonzero if successful; otherwise 0.

Remarks

This member function emulates the functionality of the BCM_GETIMAGELIST message, as described in the Buttons section of the Windows SDK.

Requirements

Header: afxwin.h

See Also

Reference

CButton Class

Other Resources

CButton Members