Posted 19 years ago
by Domenico

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.