共用方式為


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

Concepts

CLinkCtrl Class

CLinkCtrl Members

Hierarchy Chart