Hi Scott,
First of all, I would like to confirm my understanding of your issue. From
your description, I understand that you need to convert a bitmap image in
an ImageList to an icon at runtime. If there is any misunderstanding,
please feel free to let me know.
Based on my research, we can get the handle of a bitmap and then load the
Icon object from a handle. Here is an example:
ImageList i = new ImageList();
i.Images.Add(new System.Drawing.Bitmap(@"d:\Factory.jpg"));
System.Drawing.Icon ico =
System.Drawing.Icon.FromHandle(((Bitmap)i.Images[0]).GetHicon());
this.Icon = ico;
HTH.
Kevin Yu
=======
"This posting is provided "AS IS" with no warranties, and confers no
rights."