NM_CUSTOMDRAW (trackbar)NM_CUSTOMDRAW (trackbar)*
*



Contents  *



Index  *Topic Contents
*Previous Topic: Trackbar Control Notifications
*Next Topic: NM_RELEASEDCAPTURE (trackbar)

NM_CUSTOMDRAW (trackbar)


NM_CUSTOMDRAW
    lpNMCustomDraw = (LPNMCUSTOMDRAW) lParam;

Sent by a trackbar control to notify its parent windows about drawing operations. This notification is sent in the form of a WM_NOTIFY message.

lpNMCustomDraw
Address of an NMCUSTOMDRAW structure that contains information about the drawing operation. The dwItemSpec member of this structure will contain one of the Custom Draw Values that indicates which part of the control is being drawn. Trackbar controls insert the following values into the dwItemSpec member of this structure to identify the portion of the control being drawn:
TBCD_CHANNEL Identifies the channel that the trackbar control's thumb marker slides along.
TBCD_THUMB Identifies the trackbar control's thumb marker. This is the portion of the control that the user moves.
TBCD_TICS Identifies the increment tick marks that appear along the edge of the trackbar control.

Version 4.70

See also Using Custom Draw


Up Top of Page
© 1997 Microsoft Corporation. All rights reserved. Terms of Use.