void CBCGPDialog::SetBackgroundImage | ( | HBITMAP | hBitmap, |
BackgroundLocation | location = BACKGR_TILE , |
||
BOOL | bAutoDestroy = TRUE , |
||
BOOL | bRepaint = TRUE |
||
) |
Sets the dialog box's background image
Use this function to set the image as background. The image is not stretched to fit the dialog box client area. Use the BackgroundLocation values to specify the image location.
hBitmap | The image handle |
location | The image location |
bAutoDestroy | Specifies whether the image should be destroyed automatically |
bRepaint | Specifies whether the dialog box's client area should be updated immediately |