System Bit Maps

In addition to using the mouse pointers and icons defined by the system, applications can use standard system bit maps by calling WinGetSysBitmap. This function returns a bit map handle that is passed to WinDrawBitmap or to one of the GPI bit-map functions. The system uses standard bit maps to draw portions of control windows, such as the system menu, minimize/maximize box, and scroll-bar arrows. The following standard system bit maps are available:

┌─────────────────────────┬───────────────────────────────────┐
│Bit Map                  │Description                        │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_BTNCORNERS          │Specifies the bit map for push     │
│                         │button corners.                    │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_CHECKBOXES          │Specifies the bit map for the      │
│                         │check-box or radio-button check    │
│                         │mark.                              │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_CHILDSYSMENU        │Specifies the bit map for the      │
│                         │smaller version of the system-menu │
│                         │bit map; used in child windows.    │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_CHILDSYSMENUDEP     │Same as SBMP_CHILDSYSMENU but      │
│                         │indicates that the system menu is  │
│                         │selected.                          │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_COMBODOWN           │Specifies the bit map for the      │
│                         │downward pointing arrow in a       │
│                         │drop-down combination box.         │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_MAXBUTTON           │Specifies the bit map for the      │
│                         │maximize button.                   │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_MENUATTACHED        │Specifies the bit map for the      │
│                         │symbol used to indicate that a menu│
│                         │item has an attached, hierarchical │
│                         │menu.                              │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_MENUCHECK           │Specifies the bit map for the menu │
│                         │check mark.                        │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_MINBUTTON           │Specifies the bit map for the      │
│                         │minimize button.                   │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_OLD_CHILDSYSMENU    │Same as SBM_CHILDSYSMENU.  (For    │
│                         │compatibility with previous        │
│                         │versions of the OS/2 operating     │
│                         │system.)                           │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_OLD_MAXBUTTON       │Same as SBM_MAXBUTTON.  (For       │
│                         │compatibility with previous        │
│                         │versions of the OS/2 operating     │
│                         │system.)                           │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_OLD_MINBUTTON       │Same as SBM_MINBUTTON.  (For       │
│                         │compatibility with previous        │
│                         │versions of the OS/2 operating     │
│                         │system.)                           │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_OLD_RESTOREBUTTON   │Same as SBM_RESTOREBUTTON.  (For   │
│                         │compatibility with previous        │
│                         │versions of the OS/2 operating     │
│                         │system.)                           │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_OLD_SBDNARROW       │Same as SBM_SBDNARROW.  (For       │
│                         │compatibility with previous        │
│                         │versions of the OS/2 operating     │
│                         │system.)                           │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_OLD_SBLFARROW       │Same as SBM_SBLFARROW.  (For       │
│                         │compatibility with previous        │
│                         │versions of the OS/2 operating     │
│                         │system.)                           │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_OLD_SBRGARROW       │Same as SBM_SBRGARROW.  (For       │
│                         │compatibility with previous        │
│                         │versions of the OS/2 operating     │
│                         │system.)                           │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_OLD_SBUPARROW       │Same as SBM_SBUPARROW.  (For       │
│                         │compatibility with previous        │
│                         │versions of the OS/2 operating     │
│                         │system.)                           │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_PROGRAM             │Specifies the bit map for the      │
│                         │symbol that File Manager uses to   │
│                         │indicate that a file is an         │
│                         │executable program.                │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_RESTOREBUTTON       │Specifies the bit map for the      │
│                         │restore button.                    │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_RESTOREBUTTONDEP    │Same as SBMP_RESTOREBUTTON but     │
│                         │indicates that the restore button  │
│                         │is pressed.                        │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBDNARROW           │Specifies the bit map for the      │
│                         │scroll-bar down arrow.             │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBDNARROWDEP        │Same as SBMP_SBDNARROW but         │
│                         │indicates that the scroll-bar down │
│                         │arrow is pressed.                  │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBDNARROWDIS        │Same as SBMP_SBDNARROW but         │
│                         │indicates that the scroll-bar down │
│                         │arrow is disabled.                 │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBLFARROW           │Specifies the bit map for the      │
│                         │scroll-bar left arrow.             │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBLFARROWDEP        │Same as SBMP_SBLFARROW but         │
│                         │indicates that the scroll-bar left │
│                         │arrow is pressed.                  │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBMFARROWDIS        │Same as SBMP_SBLFARROW but         │
│                         │indicates that the scroll-bar left │
│                         │arrow is disabled.                 │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBRGARROW           │Specifies the bit map for the      │
│                         │scroll-bar right arrow.            │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBRGARROWDEP        │Same as SBMP_SBRGARROW but         │
│                         │indicates that the scroll-bar right│
│                         │arrow is pressed.                  │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBRGARROWDIS        │Same as SBMP_SBRGARROW but         │
│                         │indicates that the scroll-bar right│
│                         │arrow is disabled.                 │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBUPARROW           │Specifies the bit map for the      │
│                         │scroll-bar up arrow.               │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBUPARROWDEP        │Same as SBMP_SBUPARROW but         │
│                         │indicates that the scroll-bar up   │
│                         │arrow is pressed.                  │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SBUPARROWDIS        │Same as SBMP_SBUPARROW but         │
│                         │indicates that the scroll-bar up   │
│                         │arrow is disabled.                 │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SIZEBOX             │Specifies the bit map for the      │
│                         │symbol that indicates an area of a │
│                         │window in which the user can click │
│                         │to resize the window.              │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_SYSMENU             │Specifies the bit map for the      │
│                         │system menu.                       │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_TREEMINUS           │Specifies the bit map for the      │
│                         │symbol that File Manager uses to   │
│                         │indicate an empty entry in the     │
│                         │directory tree.                    │
├─────────────────────────┼───────────────────────────────────┤
│SBMP_TREEPLUS            │Specifies the bit map for the      │
│                         │symbol that File Manager uses to   │
│                         │indicate that an entry in the      │
│                         │directory tree contains more files.│
└─────────────────────────┴───────────────────────────────────┘


[Back: Predefined Mouse Pointers]
[Next: Using Mouse Pointers and Icons]