October 2001
Intermediate to advanced
704 pages
19h 33m
English
ICON (tAIB)
ICON [ID <IconResourceId.n>] <IconFileName.s>
ICONFAMILY [ID <IconResourceId.n>]
<BitmapFileName.s> ...<BitmapFileName.s>
[ NOCOLORTABLE] [COLORTABLE]
[TRANSPARENT r g b] [TRANSPARENTINDEX index]
The bitmap must be 32 x 32, 32 x 22 or 22 x 22 in dimension.
Compression is not available for ICONS.
A tAIB resource with ID 1000 is created unless an
alternate ID is specified.
ICON creates a monochrome icon resource.
ICONFAMILY creates a multibit (1bpp, 2bpp, 4bpp
and 256 color) icon resources.
The inclusion of the bitmap color table is not recommended as it slows down system performance. PilRC implements a simple color table matching algorithm to match the bitmaps color table to the system palette.
When an alternate ID is used for the ICON
resource, bitmap size is not checked.
ICON "myicon.bmp" ICONFAMILY "icon1bpp.bmp" "icon2bpp.bmp" ICONFAMILY "icon1bpp.bmp" "icon2bpp.bmp" "icon4bpp.bmp" "icon8bpp.bmp" ICONFAMILY "icon1bpp.bmp" "" "" "icon8bpp.bmp" TRANSPARENTINDEX 255