hCtl
The return value is a HWND data type handle to the new slider control if the function
succeeds. If the function fails, the return value is NULL.
Text$
specifies the caption for slider control if WS_CAPTION window style is used. The
default window style for the slider control does not include the
WS_CAPTION window style.
hWndParent
is the HWND data type handle to the parent window of the listbox being created.
hCtlID%
specifies the identifier of the slider control being created. The
identifier is an integer value used by the slider control being created to
notify its parent about events. The identifier must be unique for each
slider control created with the same parent window.
Xpos%
specifies the initial horizontal position of the slider control being
created. X% is the x-coordinate of the upper-left corner of the slider
control being created relative to the upper-left corner of the parent
window's client area.
Ypos%
specifies the initial vertical position of the slider control being
created. Y% is the initial y-coordinate of the upper-left corner of the
slider control being created relative to the upper-left corner of the
parent window's client area.
Width%
specifies the width, in device units or, if the PIXELS optional
parameter was specified in the GUI statement, in pixels , of the slider
control being created.
Height%
specifies the height, in device units or, if the PIXELS optional
parameter was specified in the GUI statement, in pixels , of the slider
control being created.
TextPos%
[OPTIONAL]
is an integer specifing the placement of text relative to the slider control.
0 below the slider
1 above the slider
2 to the left of the slider
3 to the right of the slider
Winstyle%
[OPTIONAL] If
the Winstyle% parameter is used, the default Window Style for a BCX_SLIDER
control, |WS_CHILD | WS_VISIBLE |TBS_AUTOTICKS | WS_TABSTOP, is replaced
with the value in WinStyle%. See your Win32 SDK or PSDK Reference help for
more information about valid Window Styles for a TRACKBAR_CLASS control.
ExWinstyle%
[OPTIONAL] The
default Extended Window Style for a BCX_SLIDER control is 0. See your
Win32 SDK or PSDK Reference help for more information about valid
Extended Window Styles for a TRACKBAR_CLASS control.