CLinkCtrl::HitTest

Determines if the user clicked the specified link.

BOOL HitTest(
   PLHITTESTINFO phti
) const;

Parameters

  • phti
    Pointer to a LHITTESTINFO structure containing any information about the link the user clicked.

Return Value

Returns TRUE on success, FALSE on failure.

Remarks

This member function implements the behavior of the Win32 message LM_HITTEST, as described in the Windows SDK.

Requirements

Header: afxcmn.h

See Also

Reference

CLinkCtrl Class

Hierarchy Chart

Other Resources

CLinkCtrl Members