Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

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.

OptionValueDescription
HTTB_BACKGROUNDSEG0x00000000Theme background segment hit test option.
HTTB_FIXEDBORDER0x00000002Fixed border hit test option.
HTTB_CAPTION0x00000004Caption hit test option.
HTTB_RESIZINGBORDER(HTTB_RESIZINGBORDER_LEFT | HTTB_RESIZINGBORDER_TOP | HTTB_RESIZINGBORDER_RIGHT | HTTB_RESIZINGBORDER_BOTTOM)Resizing border hit test options.
HTTB_RESIZINGBORDER_LEFT0x00000010Resizing left border hit test option.
HTTB_RESIZINGBORDER_TOP0x00000020Resizing top border hit test option.
HTTB_RESIZINGBORDER_RIGHT0x00000040Resizing right border hit test option.
HTTB_RESIZINGBORDER_BOTTOM0x00000080Resizing bottom border hit test option.
HTTB_SIZINGTEMPLATE0x00000100Resizing border is specified as a template, not just window edges. This option is mutually exclusive with HTTB_SYSTEMSIZINGMARGINS; HTTB_SIZINGTEMPLATE takes precedence.
HTTB_SYSTEMSIZINGMARGINS0x00000200Uses the system resizing border width rather than visual style content margins. This option is mutually exclusive with HTTB_SIZINGTEMPLATE; HTTB_SIZINGTEMPLATE takes precedence.

 

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.