TBM_SETPOSNOTIFY message

Sets the current logical position of the slider in a trackbar.

Parameters

wParam

wParam is unused.

lParam

New logical position of the slider. Valid logical positions are the integer values in the trackbar's range of minimum to maximum slider positions. If this value is outside the control's maximum and minimum range, the position is set to the maximum or minimum value.

Return value

No return value.

Remarks

Calling TBM_SETPOSNOTIFY will set the trackbar slider location like TBM_SETPOS would, but it will also cause the trackbar to notify its parent of a move via a WM_HSCROLL or WM_VSCROLL message.

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2014 Microsoft