Enum TitleBarHit
- Namespace
- ExControls
- Assembly
- ExControls.dll
Part of the custom title bar of a form at a point - determines what Windows does with the mouse (HitTest(Point)).
public enum TitleBarHit
Fields
Client = 0A control in the title bar (menu item, tool strip button) - it handles the mouse itself.
Caption = 1Free space of the title bar - dragging the window, double click to maximize, system menu on right click.
SystemMenu = 2Window icon - system menu.
MinimizeButton = 3Minimize button.
MaximizeButton = 4Maximize and restore button - in Windows 11 the system offers Snap Layouts over it.
CloseButton = 5Close button.
ResizeTop = 6Top border of the window - resizing the height.
ResizeTopLeft = 7Top left corner of the window - resizing.
ResizeTopRight = 8Top right corner of the window - resizing.
HelpButton = 9Help button (HelpButton, only without minimize and maximize) - context help.