Currently viewing: GipsySoft » Front Page» QHTM

QHTM_GET_HTML_TITLE

Get the title for the document currently loaded into QHTM.

Parameters

wParam
Length of the passed buffer in TCHARs
lParam
Pointer to a buffer where QHTM will copy the title.

Return value


The number of bytes copied not including the terminating NULL.

Example

TCHAR szBuffer[ 256 ];
(void)::SendMessage( hwnd, QHTM_GET_HTML_TITLE, 256, (LPARAM)szBuffer );

//
//	Or use the QHTM message cracker
QHTM_GetTitle( hwnd, szBuffer, 256 );

See also QHTM_GET_HTML_TITLE_LENGTH