STATIC Control

Static controls are used to place unmodifiable text in a window.

[See Introduction to Controls]

Static styles

Static styles:

SS_LEFT
SS_CENTER
SS_RIGHT
SS_ICON
SS_BLACKRECT
SS_GRAYRECT
SS_WHITERECT
SS_BLACKFRAME
SS_GRAYFRAME
SS_WHITEFRAME
SS_USERITEM
SS_SIMPLE
SS_LEFTNOWORDWRAP
SS_BITMAP
SS_OWNERDRAW
SS_ENHMETAFILE
SS_ETCHEDHORZ
SS_ETCHEDVERT
SS_ETCHEDFRAME
SS_TYPEMASK
SS_NOPREFIX  ; Don't do "&" character translation
SS_NOTIFY
SS_CENTERIMAGE
SS_RIGHTJUST
SS_REALSIZEIMAGE
SS_SUNKEN

Static messages

Static messages:

STM_SETICON
STM_GETICON
STM_SETIMAGE
STM_GETIMAGE

Static notifications

Static controls notify their parents by sending a WM_COMMAND message to them with a notification code.

Static notification codes:

STN_CLICKED
STN_DBLCLK
STN_ENABLE
STN_DISABLE