Help Center

CTrackbar.GetBuddymethod

Retrieves the handle to a trackbar control buddy window at a given location.

WindowsmethodCTrackbar.incdocumented

Syntax

FUNCTION GetBuddy (BYVAL hTrackbar AS HWND, BYVAL fLocation AS BOOLEAN) AS HWND

Parameters

NameDescription
hTrackbarHandle to the trackbar control.
fLocationValue indicating which buddy window handle will be retrieved, by relative location. This value can be one of the following:

Return value

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

Description

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).

Reference

  • Include file CTrackbar.inc
  • Defined in AfxNova/CTrackbar.inc:126
  • Documented in Windows/WIndows Controls/CTrackbar Class.md
  • Topic: CTrackbar Class