[This is preliminary documentation and subject to change.]
Enables a user to add a strip of icons to the image list, starting at the location identified by nLoc using a pair of bitmaps (large and small icons).
HRESULT ImageListSetStrip(
long * pBMapSm, // Point to a handle
long * pBMapLg, // Pointer to a handle
long nStartLoc, // Index of the first image in the strip
COLORREF cMask // Color of the icon mask
);
The small and large bitmaps must be given and the number of icons in each strip must be equal. The small bitmap must be 16 pixels high and 16*n wide. The large bitmap must be 32 pixels high and 32*n pixels wide.
Each pixel of the color used to generate a mask in the specified bitmap is changed to black and the corresponding bit in the mask is set to one.