This is just a quick update to announce another update to my Drop-Down Controls project. By request (and because I always enjoy a challenge), i’ve added custom DataGridView column types for the ComboTreeBox and GroupedComboBox controls. This means that you can now use these controls from within a DataGridView, taking advantage of the automatic support for… Continue reading

You may remember quite an old post of mine about the shortcomings of ExtractAssociatedIcon() which, surprisingly, still gets a fair number of hits. In light of some of the feedback i’ve received since the original post, i’ve decided to update the code to include the following fixes and improvements: Both methods in IconTools now use SHGetFileInfo As… Continue reading

When it comes to displaying the progress of a long-running operation to the user, there are many options available to a GUI designer: Change the cursor to an hourglass Change the caption on the status bar Show an animated glyph on the window Show a dialog box A number of factors could affect which method… Continue reading

Introduces a custom Windows Forms control that resembles a ComboBox with a TreeView for its drop-down portion. Explains how the control is implemented, extending Control and using visual styles to paint the main part of the control, then using ToolStripDropDown and custom rendering to create the tree and popup. Supports images, sorting, scrolling and paths. Full source code provided. Continue reading