TBM_GETBUDDY
This message retrieves the handle to a trackbar control buddy window at a specified location. The specified location is relative to the controls orientation, horizontal or vertical.
TBM_GETBUDDY wParam = (WPARAM)(BOOL) fLocation;
lParam = 0;
Parameters
- fLocation
Boolean that specifies which buddy window handle is retrieved, by relative location. It is one of the following values:Value Description TRUE Retrieves the handle to the buddy to the left of the trackbar. If the trackbar control uses the TBS_VERT style, the message will retrieve the buddy above the trackbar. FALSE Retrieves the handle to the buddy to the right of the trackbar. If the trackbar control uses the TBS_VERT style, the message will retrieve the buddy below the trackbar.
Return Values
Returns the handle to the buddy window at the location specified by fLocation, or NULL if no buddy exists at that location.
Requirements
| Runs on | Versions | Defined in | Include | Link to |
|---|---|---|---|---|
| Windows CE OS | 2.0 and later | Commctrl.h |
Note This API is part of the complete Windows CE OS package as provided by Microsoft. The functionality of a particular platform is determined by the original equipment manufacturer (OEM) and some devices may not support this API.
Last updated on Tuesday, July 13, 2004
© 1992-2000 Microsoft Corporation. All rights reserved.