| BOOL CBCGPComboBox::SetImageList | ( | UINT | nImageListResID, |
| int | cxIcon = 16, |
||
| int | nVertMargin = 2, |
||
| BOOL | bAutoScale = FALSE, |
||
| BOOL | bDisplayIconLeftOfEditBox = FALSE |
||
| ) |
Sets image list.
| nImageListResID | Identifier for the image list resource. |
| cxIcon | The icon width. |
| nVertMargin | The icon vertical margin. |
| bAutoScale | TRUE to automatically scale according to DPI. |
| bDisplayIconLeftOfEditBox | If this parameter is TRUE and selected combobox item has icon, the icon will be displayed on left side (CBS_DROPDOWN style). |