WindowHitTestRegions Enumeration
Specifies the position of the cursor hot spot.
Options available when a form is tested for mouse positions with
WM_NchitTest message.
Namespace: DevCase.Win32.EnumsAssembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public enum WindowHitTestRegions
Public Enumeration WindowHitTestRegions
Dim instance As WindowHitTestRegions
public enum class WindowHitTestRegions
type WindowHitTestRegions
No code example is currently available or this language may not be supported.
NoWhere |
0 |
On the screen background or on a dividing line between windows.
|
ClientArea |
1 |
In a client area.
|
TitleBar |
2 |
In a title bar.
|
SystemMenu |
3 |
In a window menu or in a Close button in a child window.
|
GrowBox |
4 |
In a grow box.
|
Menu |
5 |
In a menu.
|
HorizontalScrollBar |
6 |
In a horizontal scroll bar.
|
VerticalScrollBar |
7 |
In the vertical scroll bar.
|
MinimizeButton |
8 |
In a Minimize button.
|
MaximizeButton |
9 |
In a Maximize button.
|
TransparentOrCovered |
-1 |
In a window currently covered by another window in the same thread.
The message will be sent to underlying windows in the same thread
until one of them returns a code that is not TransparentOrCovered.
|
LeftSizeableBorder |
10 |
In the left border of a resizable window.
The user can click the mouse to resize the window horizontally.
|
RightSizeableBorder |
11 |
In the right border of a resizable window.
The user can click the mouse to resize the window horizontally.
|
TopSizeableBorder |
12 |
In the upper-horizontal border of a window.
|
TopLeftSizeableCorner |
13 |
In the upper-left corner of a window border.
|
TopRightSizeableCorner |
14 |
In the upper-right corner of a window border.
|
BottomSizeableBorder |
15 |
In the lower-horizontal border of a resizable window.
The user can click the mouse to resize the window vertically.
|
BottomLeftSizeableCorner |
16 |
In the lower-left corner of a border of a resizable window.
The user can click the mouse to resize the window diagonally.
|
BottomRightSizeableCorner |
17 |
In the lower-right corner of a border of a resizable window.
The user can click the mouse to resize the window diagonally.
|
NonSizableBorder |
18 |
In the border of a window that does not have a sizing border.
|
Error |
-2 |
On the screen background or on a dividing line between windows.
Same as NoWhere, except that the DefWindowProc function produces a
system beep to indicate an error.
|
CloseButton |
20 |
In a Close button.
|
HelpButton |
21 |
In a Help button.
|