I'd like to show an animated GIF as the tab image on a TabPage
.
If I add my image to an ImageList
and use the TabPage.ImageIndex
property, it only shows the first frame (and doesn't animate):
ImageList imageList = new ImageList();
imageList.Images.Add(Properties.Resources.my_animated_gif);
tabControl.ImageList = imageList;
tabPage.ImageIndex = 0;
A few forums on the net also suggest ImageList
doesn't support animated GIFs.
Is there an easy way to display an animated GIF as an image on a TabPage
? Do I have to owner-draw and animate the image?