msos2.hlp (Table of Contents; Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software, purely for historical purposes. If you're looking for up-to-date documentation, particularly for programming, you should not rely on the information found here, as it will be woefully out of date.
Static styles (1.2)
Overview  Control Classes                         Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
Value             Meaning
────────────────────────────────────────────────────────────────────────────
SS_BITMAP         Draws a bitmap. The resource ID for the bitmap resource is
                  determined in the same way as for SS_ICON controls. The
                  bitmap resource is assumed to be in the current
                  application resource file.
 
SS_BKGNDFRAME     Draws a rectangular frame with the current background
                  color.
 
SS_BKGNDRECT      Draws a filled rectangle with the current background
                  color.
 
SS_FGNDFRAME      Draws a rectangular frame with the current foreground
                  color.
 
SS_FGNDRECT       Draws a filled rectangle with the current foreground
                  color.
 
SS_GROUPBOX       Draws a box with control text in the upper-right corner of
                  the box. This style is useful for enclosing groups of
                  radio buttons or check boxes in a box.
 
SS_HALFTONEFRAME  Draws a rectangular frame with a halftone pattern in the
                  current foreground color.
 
SS_HALFTONERECT   Draws a filled rectangle with a halftone pattern in the
                  current foreground color.
 
SS_ICON           Draws an icon. The text of the control is interpreted as
                  the resource ID of the icon. The bytes that make up the
                  text can be interpreted as numeric values or as ASCII
                  representations of numbers, depending on the value of the
                  first byte. If the first byte is '#', the remaining text
                  is assumed to be an ASCII decimal representation of the
                  icon resource ID. If the first byte of the text is 0xFF,
                  the second byte is the low byte of the resource ID and the
                  third byte is the high byte of the resource ID.
 
SS_SYSICON        Displays a system pointer icon. The ID of the icon is
                  extracted from the control text, as in the SS_ICON style.
                  To display this icon, the system calls the
                  WinQuerySysPointer function with the specified ID.
 
SS_TEXT           Allows various formatting options to be combined with the
                  SS_TEXT style to produce formatted text in the boundaries
                  of the control. The formatting option flags are the same
                  as those used for the WinDrawText function.
 
See Also
 
BITMAP, GROUPBOX, ICON