The CStatic class provides the functionality of a Windows static control. A static control is a control used to display text, to draw frames or lines separating other controls, or to display icons. A static control doesn't accept user input, but it can notify its parent of stylus taps if it's created with SS_NOTIFY style.
Header File | Afxwin.h |
Platforms | |
Versions | 1.0 and later |
Complete documentation | Visual C++ documentation |
Windows CE does not support the following member functions of the CStatic class.
GetCursor
GetEnhMetaFile
GetIcon
SetCursor
SetEnhMetaFile
SetIcon
Windows CE does not support owner-drawn static controls, so you cannot specify ODT_STATIC in the CtlType field of the DRAWITEMSTRUCT structure.
CStatic Member Functions, Control Classes, CWnd, CButton, CComboBox, CEdit, CListBox, CScrollBar, CDialog