Partager via


INonClientArea.HitTest(Point) Method

Definition

Given a point, determines what the hit test result should be for WM_NCHITTEST.

public:
 int HitTest(System::Windows::Point point);
public int HitTest (System.Windows.Point point);
abstract member HitTest : System.Windows.Point -> int
Public Function HitTest (point As Point) As Integer

Parameters

point
Point

The point hit, relative to the screen.

Returns

The HT* result representing the non-client hit test result, or HTNOWHERE if the point is not within this element.

Applies to