Contents Index Topic Contents | ||
Previous Topic: TB_HIDEBUTTON Next Topic: TB_INDETERMINATE |
TB_HITTEST
TB_HITTEST wParam = 0; lParam = (LPARAM)(LPPOINT)pptHitTest;Determines where a point lies in a toolbar control.
- Returns an integer value. If the return value is zero or a positive value, it is the zero-based index of the nonseparator item in which the point lies.
If the return value is negative, the point does not lie within a button. The absolute value of the return value is the index of a separator item or the nearest nonseparator item.
- pptHitTest
- Address of a point structure that contains the x-coordinate of the hit test in the x member and the y-coordinate of the hit test in the y member. The coordinates are relative to the toolbar's client area.
Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.