Basic Common Control Styles (Windows CE 5.0)
The following table shows the styles that are supported by Windows CE.
Basic common control style | Description |
---|---|
CCS_ADJUSTABLE | Not supported. |
CCS_BOTTOM | Causes the control to position itself at the bottom of the parent window's client area and sets the width of the control to be the same as the parent window's width. Status windows have this style by default. |
CCS_LEFT | Not supported. |
CCS_NODIVIDER | Prevents a 2-pixel highlight from being drawn at the top of the control. |
CCS_NOMOVEX | Not supported. |
CCS_NOMOVEY | Causes the control to resize and move itself horizontally, but not vertically, in response to a WM_SIZE message. Header windows have this style by default. This style does not apply if your control has the CCS_NORESIZE style. |
CCS_NOPARENTALIGN | Prevents the control from automatically moving to the top or bottom of the parent window. Instead, the control keeps its position within the parent window despite changes to the size of the parent. If the application also uses the CCS_TOP or CCS_BOTTOM styles, it adjusts the height to the default, but does not change the position and width of the control. |
CCS_NORESIZE | Prevents the control from using the default width and height when setting its initial size or a new size. Instead, the control uses the width and height that is specified in the request for creation or sizing. |
CCS_RIGHT | Not supported. |
CCS_TOP | Causes the control to position itself at the top of the parent window client area and matches the width of the control to the width of the parent window. Toolbars have this style by default. |
CCS_VERT | Causes the control to display vertically. |
See Also
Control Styles | Window and Message Box Styles
Send Feedback on this topic to the authors