Currently viewing: GipsySoft » Front Page» QHTM

QHTM_OPT_USE_COLOR_STATIC

Set or get whether QHTM will send a WM_CTLCOLORSTATIC message to it's parent.

When set QHTM will use the brush returned to fill the background of the control. The background colour in the HTML and the transparency are ignored

Parameters

wParam
Must be QHTM_OPT_USE_COLOR_STATIC.
lParam
TRUE or FALSE.

Return value


None

Example

(void)::SendMessage( hwnd, QHTM_SET_OPTION, QHTM_OPT_USE_COLOR_STATIC ,(LPARAM)TRUE );

//
//	Or use the QHTM message cracker
QHTM_SetUseColorStatic( hwnd, TRUE );

See also QHTM_GET_OPTION