Posted 19 years ago
by Domenico
![Avatar](https://secure.gravatar.com/avatar/febb60edc387c91a2d468346cdae487e.jpg?s=64&d=identicon&r=g)
If the DocumentMdiStyle is Standard and the ToolWindowState is TabbedDocument, the toolwindow appears like a standard Mdi window, but the icon on its caption is always the standard no-icon of .Net framework.
private Icon GetIconFromImageList(ImageList imgList, int position)
{
return Icon.FromHandle(((Bitmap)imgList.Images[position]).GetHicon());
}
Please log in to a validated account to post comments.