Currently viewing: GipsySoft » Front Page» QHTM

QHTM_GET_DRAWN_SIZE

Get the size of the drawn HTML. This can be larger or smaller than the window size. It can be used to adjust the window size to fit all of the HTML without scrolling.

Parameters

wParam
Note used, must be zero
lParam
Pointer to a SIZE structure.

Return value


Nonzero for success.

Example

SIZE size;
OptionValue = ::SendMessage( hwnd, QHTM_GET_DRAWN_SIZE, 0, (LPARAM)&size );

//
//	size now contains the bounds of contained the HTML.

See also none