Currently viewing: GipsySoft » Front Page» QHTM

QHTM_SetHTMLButton

BOOL WINAPI QHTM_SetHTMLButton( HWND hwndButton );

Change a button so that it can contain HTML as it's text instead of plain text.

This is useful if you wish to add formatting, images or colour to buttons but wish none of the development work normally associated with it.

All QHTM HTML formatting is supported. Checkboxes and radio buttons are not currently supported

Parameters

hwndButton
The window handle to the button you wish to change.

Return value

non-zero if it succeeds.

Example

if( QHTM_SetHTMLButton( hwndButton ) )
{
	//	Success
}

See also None