CTrackbar.GetChannelRectmethod
Retrieves the size and position of the bounding rectangle for a trackbar's channel.
Syntax
SUB GetChannelRect (BYVAL hTrackbar AS HWND, BYVAL prc AS RECT PTR)
SUB GetChannelRect (BYVAL hTrackbar AS HWND, BYREF rc AS RECT)
FUNCTION GetChannelRect (BYVAL hTrackbar AS HWND) AS RECT
Parameters
| Name | Description | |
|---|---|---|
hTrackbar | Handle to the trackbar control. | |
prc | Pointer to a RECT structure. The message fills this structure with the channel's bounding rectangle, in client coordinates of the trackbar's window. |
Description
Retrieves the size and position of the bounding rectangle for a trackbar's channel. (The channel is the area over which the slider moves. It contains the highlight when a range is selected.)
Reference
- Include file
CTrackbar.inc - Defined in AfxNova/CTrackbar.inc:136
- Documented in Windows/WIndows Controls/CTrackbar Class.md
- Topic: CTrackbar Class