Hit Test Options
This section lists the option values that are used with the dwOptions parameter of the HitTestThemeBackground function. For a list of the values returned when you specify one of these options, see Hit Test Return Values.
Option Values
The following table lists the hit test options.
Option | Value | Description |
---|---|---|
HTTB_BACKGROUNDSEG | 0x00000000 | Theme background segment hit test option. |
HTTB_FIXEDBORDER | 0x00000002 | Fixed border hit test option. |
HTTB_CAPTION | 0x00000004 | Caption hit test option. |
HTTB_RESIZINGBORDER | (HTTB_RESIZINGBORDER_LEFT | HTTB_RESIZINGBORDER_TOP | HTTB_RESIZINGBORDER_RIGHT | HTTB_RESIZINGBORDER_BOTTOM) | Resizing border hit test options. |
HTTB_RESIZINGBORDER_LEFT | 0x00000010 | Resizing left border hit test option. |
HTTB_RESIZINGBORDER_TOP | 0x00000020 | Resizing top border hit test option. |
HTTB_RESIZINGBORDER_RIGHT | 0x00000040 | Resizing right border hit test option. |
HTTB_RESIZINGBORDER_BOTTOM | 0x00000080 | Resizing bottom border hit test option. |
HTTB_SIZINGTEMPLATE | 0x00000100 | Resizing border is specified as a template, not just window edges. This option is mutually exclusive with HTTB_SYSTEMSIZINGMARGINS; HTTB_SIZINGTEMPLATE takes precedence. |
HTTB_SYSTEMSIZINGMARGINS | 0x00000200 | Uses the system resizing border width rather than visual style content margins. This option is mutually exclusive with HTTB_SIZINGTEMPLATE; HTTB_SIZINGTEMPLATE takes precedence. |