If you don't want to distribute all the individual .ico files with your application, you can do the following:
1. In your .uir file, create an additional panel and place a picture ring control in it.
2. Insert all of your images in the picture ring.
3. At runtime, load the panel, but don't display it.
For each toolbar item that you create, do the following:
1. Pass NULL as the file name parameter to the Toolbar_InsertItem function.
2. Get the corresponding bitmap for this item from the picture ring by calling GetCtrlBitmap.
3. Insert the bitmap in the toolbar item by calling Toolbar_GetItemAttribute with the TOOLBAR_ATTR_BUTTON_BITMAP attribute.
4. Discard the bitmap using DiscardBitmap
Luis