void CBCGPCaptionBar::SetImageList | ( | UINT | nResID, |
int | nImageIndex = 0 , |
||
const CSize & | sizeImage = CSize(16, 16) , |
||
BarElementAlignment | bmpAlignment = ALIGN_RIGHT |
||
) |
Set the image strip for the caption bar. You can use only one icon from this list at a time.
nResID | Specifies the ID of the image list resource. |
nImageIndex | Zero-based index of the current icon. |
sizeImage | Specifies the icon size (in pixels). |
bmpAlignment | Specifies the alignment of the icon. |