BOOL CBCGPPropertyPage::SetBackgroundImage | ( | UINT | uiBmpResId, |
BackgroundLocation | location = BACKGR_TILE , |
||
BOOL | bRepaint = TRUE , |
||
BOOL | bScaleByDPI = FALSE |
||
) |
Sets the property page's background image
Use this function to set the image as background. The image is not stretched to fit the property page client area. Use the BackgroundLocation values to specify the image location.
uiBmpResId | The image resource ID |
location | The image location |
bRepaint | Specifies whether the property page's client area should be updated immediately |
bScaleByDPI | Specifies whether the image should be scaled according to current DPI |