Windows 3.1 Device Drivers (ddag31qh.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.
Large Icons and Cursors
                                                     Up Next Previous
────────────────────────────────────────────────────────────────────────────
 
In Windows 3.1, display drivers can use icons larger than 64-by-64 bits and
cursors larger than 32-by-32 bits. Large icons and cursors can improve
screen readability for high-resolution graphics adapters.
 
Display drivers specify icon and cursor size in the CONFIG_BIN structure in
the IconXRatio, IconYRatio, CurXRatio, and CurYRatio members of the
CONFIG.BIN resource (that is, the resource having identifier 1 and type
OEMBIN). In Windows 3.1, these members specify either a width and height in
pixels or a compression ratio. In Windows 3.0, these members only specify
compression ratios. For a complete description of the members, see the
CONFIG.BIN resource.
 
In all cases, each icon or cursor must have the same width and height in
pixels.
 
Display drivers which specify actual widths and heights in the OEMBIN
resource can not be used with Windows 3.0. Drivers which specify compression
factors work with both Windows 3.0 and 3.1. However, drivers cannot
simultaneously specify compression factors and icons or cursors larger than
32-by-32.
 
 
                                      ♦