SECBitmapDialog::SetBitmap

This function loads the specified bitmap in the dialogue.

Defined in: secbmpdg.cpp

Syntax

SetBitmap(UINT nResBitmapID, int nType /* = SEC_BITMAP_TILE */)

SetBitmap(LPCTSTR lpcResBitmapName, int nType /* = SEC_BITMAP_TILE */)

SetBitmap(SECImage* pImage, int nType /* = SEC_BITMAP_TILE */)

Return Value

BOOL Returns non-zero if successful; otherwise zero.

Parameters

nResBitmapID

The ID of the bitmap resource.

lpcResBitmapName

The name of the bitmap resource.

pImage

A pointer to an object of type SECImage.

nType

The type flag (one of SEC_BITMAP_TILE, SEC_BITMAP_CENTER, SEC_BITMAP_FILL).

See Also

SECBitmapDialog

SECBitmapDialog