Here is a quicky for populating toolbars with standard bitmaps embedded in comctl32.dll.
There is still (at least) one bug: if you load some large (24x24) bitmaps and then shift and load some small 916x160 bitmaps the small ones get corrupted. probably an issue with the way I'm using PictureBoxes in there.
This is a control and not a class so that I can use those PictureBoxes to cut up the image-strip bitmaps instead of doing a lot of GDI API fiddling.
There is still (at least) one bug: if you load some large (24x24) bitmaps and then shift and load some small 916x160 bitmaps the small ones get corrupted. probably an issue with the way I'm using PictureBoxes in there.
This is a control and not a class so that I can use those PictureBoxes to cut up the image-strip bitmaps instead of doing a lot of GDI API fiddling.