BCGSuite for MFC
BOOL CBCGPListBox::SetImageList ( UINT  nImageListResID,
int  cxIcon = 16,
int  nVertMargin = 2,
BOOL  bAutoScale = FALSE 
)

Sets image list.

Parameters
nImageListResIDIdentifier for the image list resource.
cxIconThe icon width.
nVertMarginThe icon vertical margin.
bAutoScaleTRUE to automatically scale according to DPI.
Returns
TRUE if it succeeds, FALSE if it fails.