| BOOL CBCGPStatic::SetPicture | ( | UINT | nResID, |
| BOOL | bDPIAutoScale = TRUE, |
||
| BOOL | bAutoResize = FALSE, |
||
| HINSTANCE | hResInstance = NULL, |
||
| BOOL | bDisable3DColorsMapping = FALSE |
||
| ) |
Sets a picture.
| nResID | Identifier for the image resource. The resource can be either BMP, PNG or SVG |
| bDPIAutoScale | Specifies whether the image should be scaled according to current DPI. |
| bAutoResize | Specifies whether control should be automatically resized to the picture size. |
| hResInstance | The resource instance. |
| bDisable3DColorsMapping | When this parameter is FALSE, the system 3D colors are not mapped to the active visual theme colors. |