ID Number: Q73674
3.00 3.10
WINDOWS
Summary:
The display driver determines the display size of an icon or a cursor.
Display drivers for Microsoft Windows versions 3.0 and 3.1 specify
icon and cursor compression factors, which are used to determine the
size for a particular icon or cursor.
Each compression factor is the ratio of 64 to the icon or cursor size.
In other words, the icon width compression factor is 64 divided by the
final width of an icon. Because each factor must be a whole number,
the height or the width of an icon or a cursor must be 64, 32, or 16
pixels.
Four compression factors are stored as a resource in each
display driver. The following table shows typical values:
Display Icon/Cursor Compression Factors
Drivers Dimensions Width Height
------- ---------- ----- ------
CGA 32 x 16 2 4
EGA, VGA, 8514 32 x 32 2 2
In Windows version 3.1, the actual icon dimensions are stored.
Therefore, for an icon 32 pixels wide, the driver stores 32 instead
of 2. This removes the limitation that 64 by 64 is the largest
possible size.
Additional reference words: 3.00 3.10 3.x