CreateUpDownControl.3w

Langue: en

Version: Jun 2009 (debian - 07/07/09)

Section: 3 (Bibliothèques de fonctions)

NAME

CreateUpDownControl (COMCTL32.16)

SYNOPSIS

HWND CreateUpDownControl
 (
  DWORD     style,
  INT       x,
  INT       y,
  INT       cx,
  INT       cy,
  HWND      parent,
  INT       id,
  HINSTANCE inst,
  HWND      buddy,
  INT       maxVal,
  INT       minVal,
  INT       curVal
 )

DESCRIPTION

Creates an up-down control.

PARAMS

style [In] window styles.

x [In] horizontal position of the control.

y [In] vertical position of the control.

cx [In] with of the control.

cy [In] height of the control.

parent [In] handle to the parent window.

id [In] the control's identifier.

inst [In] handle to the application's module instance.

buddy [In] handle to the buddy window, can be NULL.

maxVal [In] upper limit of the control.

minVal [In] lower limit of the control.

curVal [In] current value of the control.

RETURNS

Success: handle to the updown control

Failure: 0

IMPLEMENTATION

Defined in "commctrl.h".

Implemented in "dlls/comctl32/commctrl.c".

Debug channel "commctrl".