Creating a Static Control

Windows CE 3.0

A static control is a control that is used to display text, to draw frames or lines that separate other controls, or to display icons. A static control does not accept user input, but it can notify its parent window of a stylus tap if the static control is created by using the SS_NOTIFY style. The following screen shot shows two static controls.

Although you can use static controls in overlapped, pop-up, and child windows, they are designed for use in dialog boxes, where Windows CE standardizes their behavior. If you use static controls outside of dialog boxes, you increase the risk that the application might behave in a nonstandard fashion. Windows CE does not support owner-drawn static controls.


 Last updated on Tuesday, July 13, 2004

© 1992-2000 Microsoft Corporation. All rights reserved.

Show: