Click to Rate and Give Feedback
MSDN
MSDN Library
User Interface
Windows Controls
Control Library
Toolbar
Messages
 TB_HITTEST Message

  Switch on low bandwidth view
TB_HITTEST Message

Determines where a point lies in a toolbar control.

Syntax

To send this message, call the SendMessage function as follows.
lResult = SendMessage(     // returns LRESULT in lResult
   (HWND) hWndControl,     // handle to destination control
   (UINT) TB_HITTEST,     // message ID
   (WPARAM) wParam,     // = 0; not used, must be zero
   (LPARAM) lParam     // = (LPARAM) (LPPOINT) pptHitTest;
);

Parameters

wParam
Must be zero.
pptHitTest
Pointer to 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.

Return Value

Message Information

Minimum DLL Versioncomctl32.dll version 4.00 or later
Headercommctrl.h
Minimum operating systems Windows NT 4.0, Windows 95
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Page view tracker