Currently viewing: GipsySoft » Front Page» QHTM

QHTM_MessageBox

int WINAPI QHTM_MessageBox(HWND hwnd, LPCTSTR lpText, LPCTSTR lpCaption, UINT uType );

QHTM_MessageBox is a parameter for parameter replacement for the MessageBox(...) API. It does everything MessageBox does with the addition of allowing the full power of QHTM HTML in the message. This could be hyperlinks to get support, using different fonts, images (including animations), tables, colours or styles.

Parameters

Same as MessageBox API.

Return value


non-zero if it succeeds.

Example

int nRetValue = QHTM_MessageBox( hwndMyWindow, "Do you <b>really</b> want to format drive C:?"
	, "Format", MB_YESNOCANCEL | MB_ICONWARNING | MB_DEFBUTTON3 );
if( nRetValue == MB_OK )
{
	//
	//	Proceed with the format...
}

See also None