Share via


PhCommon Control Styles (Windows Embedded CE 6.0)

1/6/2010

These are custom styles that are used by the PhCommon custom controls in creating the controls used by the IP Phone Suite. You can use these styles to help you understand how the different components are modified and used within the sample, IP Phone Suite and the sample dynamic link library, PhCommon. These styles are used in the resource files (.rc) when defining the controls. The VTS styles map to the drawing behavior of DrawText .

Style Value Description

VES_DIALPAD

0x8000

Edit Control Style. Edit Style that means it only accepts Dial Pad characters, i.e. 0-9,*, and # only.

VPMS_INPUT

0x8000

Popup Menu Control Style. Popup menu style that means it is the Input menu.

VTS_TOP

0x00000000

Transparent Text Control Style. Maps to drawing behavior. Alignment TOP.

VTS_LEFT

0x00000000

Transparent Text Control Style. Maps to drawing behavior. Alignment LEFT.

VTS_CENTER

0x00000001

Transparent Text Control Style. Maps to drawing behavior. Alignment CENTER.

VTS_RIGHT

0x00000002

Transparent Text Control Style. Maps to drawing behavior. Alignment RIGHT.

VTS_VCENTER

0x00000004

Transparent Text Control Style. Maps to drawing behavior. Alignment vertically centered.

VTS_BOTTOM

0x00000008

Transparent Text Control Style. Maps to drawing behavior. Alignment BOTTOM.

VTS_WORDBREAK

0x00000010

Transparent Text Control Style. Maps to drawing behavior. Use word break. Breaks words across lines.

VTS_SINGLELINE

0x00000020

Transparent Text Control Style. Maps to drawing behavior. Single line only.

VTS_EXPANDTABS

0x00000040

Transparent Text Control Style. Maps to drawing behavior. Expand tabs.

VTS_NOPREFIX

0x00000800

Transparent Text Control Style. Maps to drawing behavior. Don't use prefix processing.

VTS_END_ELLIPSIS

0x00008000

Transparent Text Control Style. Maps to drawing behavior. Truncates a text string that is wider than the display rectangle and adds an ellipsis to indicate the truncation.

Remarks

Note

This documentation applies to functionality implemented in sample code for PhCommon. For more information, see PhCommon Reference.

See Also

Reference

PhCommon Reference

Concepts

IP Phone Suite