| CBCGPImage::CBCGPImage | ( | UINT | uiResID = 0, |
| LPCTSTR | lpszType = NULL, |
||
| BOOL | bScaleByDPI = FALSE, |
||
| BOOL | bInvertLuminosity = FALSE |
||
| ) |
Constructor. Creates an image from the specified resource.
| uiResID | Image resource identifier. |
| lpszType | The resource type. |
| bScaleByDPI | Specifies whether image should be automatically scaled according to current DPI. |
| bInvertLuminosity | Specifies whether the image luminosity should be inverted. Set this parameter to TRUE if the image will be displayed on the dark background. |