Share via


Up-down Control Styles (Compact 2013)

3/28/2014

The following table shows the styles that are supported by Windows Embedded Compact.

Up-down control style

Description

UDS_ALIGNLEFT

Positions the up-down control next to the left edge of the buddy window. The buddy window is moved to the right and its width is decreased to accommodate the width of the up-down control.

UDS_ALIGNRIGHT

Positions the up-down control next to the right edge of the buddy window. The width of the buddy window is decreased to accommodate the width of the up-down control.

UDS_ARROWKEYS

Causes the up-down control to process the UP ARROW and DOWN ARROW keys on the keyboard.

UDS_AUTOBUDDY

Automatically elects the previous window in the z-order as the up-down control's buddy window. In Windows Embedded Compact, the window must be an edit control.

UDS_HORZ

Causes the up-down control's arrows to point left and right instead of up and down.

UDS_NOTHOUSANDS

Prevents insertion of a thousands separator between every three decimal positions.

UDS_SETBUDDYINT

Causes the up-down control to set the text of the buddy window, using the WM_SETTEXT message, when the position changes. The text consists of the position formatted as a decimal or hexadecimal string.

UDS_WRAP

Causes the position to wrap if it is incremented or decremented beyond the end or beginning of the range.

See Also

Reference

Control Styles
Window and Message Box Styles