Currently viewing: GipsySoft » Front Page» QHTM

QHTM_GET_LINK_FROM_POINT

Determine if a given a POINT is over a hyperlink and optionally return information about the link.

Parameters

wParam
Pointer to a POINT structure
lParam
Pointer to a QHTM_LINK_INFO structure.

Return value


TRUE if the point is over a link.

Example

POINT pt;
GetCursorPos( &pt )
ScreenToClient( hwndQHTM, &pt );
QHTM_LINK_INFO li;
li.cbSize = sizeof( QHTM_LINK_INFO );
::SendMessage( hwndQHTM, QHTM_GET_LINK_FROM_POINT, (WPARAM)&pt, (LPARAM)&li);

//	or

QHTM_GetLinkInfo( hwndQHTM, &pt, &li );

See also QHTM_LINK_INFO