Currently viewing: GipsySoft » Front Page» QHTM

QHTM_OPT_SET_IMAGE_CALLBACK

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

Parameters

wParam
Must be QHTM_OPT_SET_IMAGE_CALLBACK.
lParam
Function pointer of type funcQHTMImageCallback

Return value


None

Example

CQHTMImageABC * MyImageCallback( LPCTSTR pcszImageURL )
{
	if( !_tcsicmp( pcszImageURL, _T("currenttime") ) )
	{
		return new CTimeImage;
	}
	return NULL;
}

QHTM_SetImageCallback( hwndQHTM, MyImageCallback );

See also funcQHTMImageCallback CQHTMImageABC