The System.Windows.Forms.DataGrid control is one of the most powerful and frequently used controls in the .NET arsenal and this class (DataGridPrinter) adds functionality to allow you to generate print and print previews from your data grid in a tidy and customizable layout.To draw a grid, first draw [...]
I have known for a long time that you must have enough items in your parameter array to account for the highest index assigned to a format item. Today’s discovery was that unused items in the list are completely harmless.
Clearly, the opposite case is false; an item with an index greater than the upper bound of the parameter array [...]
Both MFC shell controls (CMFCShellTreeCtrl and CMFCShellListCtrl) have substantial limitations. With CMFCShellTreeCtrl it’s not possible to set custom root folder, – tree view always starts with the “desktop”. As to CMFCShellListCtrl there is no clear way of filtering files. The [...]
As you can see in the screenshot, this is a month calendar control and date picker control, a little like the built-in controls from Microsoft. [...]
This article is the first article of Design WinForms controls using Photoshop series which I will write to explain how to “Design” and “Code” your customized CheckBoxes controls based on your skills as a designer and a coder as well.Basics
Actually, when I started writing the [...]