Currently viewing: GipsySoft » Front Page» QHTM

QHTM_OPT_ZOOMLEVEL

Set or get the zoom level, or text size, used by QHTM.

Parameters

wParam
Must be QHTM_OPT_ZOOMLEVEL.
lParam
Can be between 0 and 4. There is a constant for the default zoom level used by QHTM: QHTM_ZOOM_DEFAULT

Return value


None

Example

//
//	Set the largest font used
(void)::SendMessage( hwnd, QHTM_SET_OPTION, QHTM_OPT_ZOOMLEVEL, (LPARAM)4 );

//
//	Or use the QHTM message cracker...
QHTM_SetZoomLevel( hwnd, 4 );

See also QHTM_GET_OPTION