Currently viewing: GipsySoft » Front Page» QHTM

QHTM_OPT_SET_BITMAP_CALLBACK

Set (not get) the function used by QHTM to retrieve bitmaps.

Parameters

wParam
Must be QHTM_OPT_SET_BITMAP_CALLBACK.
lParam
Function pointer of type funcQHTMBitmapCallback

Return value


None

Remarks

QHTM does not destroy the bitmap, instead it makes a DIB copy of it. You are free to destroy the bitmap whenever you like.

Example

HBITMAP MyBitmapCallback( LPCTSTR pcszImageURL )
{
	return LoadImage( "Filename", ... );
}

QHTM_SetBitmapCallback( hwndQHTM, MyBitmapCallback );

See also funcQHTMImageCallback CQHTMImageABC