Currently viewing: GipsySoft » Front Page» QHTM

QHTM_LOAD_FROM_RESOURCE

Load a HTML document into QHTM, using a resource name.

Parameters

wParam
An HINSTANCE.
lParam
Resource name

Return value

non-zero if it succeeds.

Example

::SendMessage( hwnd
		, QHTM_LOAD_FROM_RESOURCE
		, (WPARAM)hInst
		, (LPARAM)pcszName );

//	Or using the message cracker macro
QHTM_LoadFromResourceName( hwnd
	, g_hInstance
	, MAKEINTRESOURCE( ID_HTML_RESOURCE ) );

See also QHTM_LOAD_FROM_FILE