다음을 통해 공유


NcHitTestCode (Windows Embedded CE 6.0)

1/6/2010

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

Syntax

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

Header nclientview.hpp
Windows Embedded CE Windows CE .NET 4.0 and later

See Also

Reference

GWES OS Data Types
NonClientView_t::DoHitTest