Currently viewing: GipsySoft » Front Page» QHTM

QHTM_GET_OPTION

Get one of the option states from the HTML control.

Parameters

wParam
nOptionIndex, see below
lParam
Not used, must be zero.

Return value

Depends on the option index used.

Valid values for the option index are:

QHTM_OPT_TOOLTIPS
Get or set the tooltips state.
QHTM_OPT_ZOOMLEVEL
Get or set the zoomlevel.
QHTM_OPT_MARGINS
Get or set the margins used when rendering HTML.
QHTM_OPT_USE_COLOR_STATIC
Get or set whether QHTM will send a WM_CTLCOLORSTATIC message to it's parent.
QHTM_OPT_ENABLE_SCROLLBARS
Enable/disable the scrollbars used by QHTM.
QHTM_OPT_SET_IMAGE_CALLBACK
Set the image callback function.
QHTM_OPT_SET_BITMAP_CALLBACK
Set the bitmap callback function.
QHTM_OPT_SET_RESOURCE_CALLBACK
Set the resource callback function.
QHTM_OPT_SET_FORM_SUBMIT_CALLBACK
Set the resource callback function.
QHTM_OPT_SET_ALWAYS_SHOW_TIPS
Always show tooltips for links even when the client application is not active.

Example

OptionValue = ::SendMessage( hwnd, QHTM_GET_OPTION, (WPARAM)nIndex, 0 );

See also QHTM_SET_OPTION