次の方法で共有


UDM_GETPOS32 (Compact 2013)

3/28/2014

Returns the 32-bit position of an up-down control.

Syntax

UDM_GETPOS32 wParam = 0; 
    lParam = (LPARAM) (LPBOOL) pfError;

Parameters

  • wParam
    Not used. Must be zero.
  • pfError
    Pointer to a BOOL value that is set to zero if the value is successfully retrieved or nonzero if an error occurs. If this parameter is set to NULL, errors are not reported.

    If UDM_GETPOS32 is used in a cross-process situation, this parameter must be NULL.

Return Value

Returns the position of an up-down control with 32-bit precision. Applications must check the pfError value to determine whether the return value is valid.

Remarks

When it processes this message, the up-down control updates its current position based on the caption of the buddy window. It returns an error if there is no buddy window or if the caption specifies an invalid or out-of-range value.

Requirements

Header

commctrl.h

See Also

Reference

Up-Down Controls Messages
UDM_SETPOS
UDM_GETPOS
UDM_SETPOS32