The HitTest enumeration provides the following values:
Description | Value |
---|---|
HT_NOWHERE | |
HT_SCROLLBAR_FIRST | |
HT_SCROLLBAR_ARROW_LINE_1 | left or upper arrow to scroll by line |
HT_SCROLLBAR_ARROW_LINE_2 | right or down |
HT_SCROLLBAR_ARROW_PAGE_1 | left or upper arrow to scroll by page |
HT_SCROLLBAR_ARROW_PAGE_2 | right or down |
HT_SCROLLBAR_THUMB | on the thumb |
HT_SCROLLBAR_BAR_1 | bar to the left/above the thumb |
HT_SCROLLBAR_BAR_2 | bar to the right/below the thumb |
HT_SCROLLBAR_LAST | |
HT_WINDOW_OUTSIDE | not in this window at all |
HT_WINDOW_INSIDE | in the client area |
HT_WINDOW_VERT_SCROLLBAR | on the vertical scrollbar |
HT_WINDOW_HORZ_SCROLLBAR | on the horizontal scrollbar |
HT_WINDOW_CORNER | on the corner between 2 scrollbars |
HT_MAX |