Düzenle

Aracılığıyla paylaş


TBM_GETBUDDY message

Retrieves the handle to a trackbar control buddy window at a given location. The specified location is relative to the control's orientation (horizontal or vertical).

Parameters

wParam

Value indicating which buddy window handle will be retrieved, by relative location. This value can be one of the following:

Value Meaning
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.

lParam

Must be zero.

Return value

Returns the handle to the buddy window at the location specified by wParam, or NULL if no buddy window exists at that location.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2003 [desktop apps only]
Header
Commctrl.h