Compartir a través de


NcHitTestCode (Windows CE 5.0)

Send Feedback

This data type identifies the location of a hit relative to controls or other parts of the nonclient area of a window.

typedef int NcHitTestCode;

Remarks

This value is an integer between 0 and 22. The following table describes the values for NcHitTestCode and the locations to which those values correspond.

Value Location
HTBORDER In the border of a window that does not have a sizing border.
HTBOTTOM In the bottom border of a window.
HTBOTTOMLEFT In the lower-left corner of a window border.
HTBOTTOMRIGHT In the lower-right corner of a window border.
HTCAPTION In a title bar.
HTCLIENT In a client area.
HTCLOSE In a Close(X) button.
HTGROWBOX In a size box.
HTHELP In a Help button.
HTHSCROLL In a horizontal scroll bar.
HTLEFT In the left border of a window.
HTMAXBUTTON In a Minimize button.
HTMINBUTTON In a Maximize button.
HTNOWHERE On the screen background or on a dividing line between windows.
HTOKBUTTON In an OK button.
HTRIGHT In the right border of a window.
HTTOP In the top border of a window.
HTTOPLEFT In the upper-left corner of a window border.
HTTOPRIGHT In the upper-right corner of a window border.
HTVSCROLL In a vertical scroll bar.

Requirements

OS Versions: Windows CE .NET 4.0 and later.
Header: Nclientview.hpp.

See Also

NonClientView_t::DoHitTest

Send Feedback on this topic to the authors

Feedback FAQs

© 2006 Microsoft Corporation. All rights reserved.