Click here to Skip to main content

Articles by Hans Dietrich (Articles: 93, Tip/Tricks: 2)

Articles: 93, Tip/Tricks: 2

RSS Feed

Average article rating: 4.81

Button Controls

XGlyphButton - a simple image button control
Posted: 9 Mar 2004   Updated: 9 Mar 2004   Views: 107,982   Rating: 4.73/5    Votes: 21   Popularity: 6.25
Licence: The Code Project Open License (CPOL)      Bookmarked: 74   Downloaded: 2,096
XGlyphButton is a simple CButton-based control that allows you to display an image without the need for owner-draw control.
XButtonXP - an XP-aware pushbutton that can also toggle and display an icon
Posted: 22 Mar 2005   Updated: 19 Jan 2008   Views: 205,609   Rating: 4.89/5    Votes: 46   Popularity: 8.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 134   Downloaded: 3,496
XButtonXP is an XP theme-aware pushbutton that can optionally be used as a toggle button. It can also display an icon with or without text.
EnableGroupboxControls - a non-MFC function to enable or disable all the controls within a groupbox
Posted: 9 Apr 2008   Updated: 9 Apr 2008   Views: 41,535   Rating: 4.53/5    Votes: 19   Popularity: 5.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 45   Downloaded: 378
EnableGroupboxControls is a function that enables or disables all the controls within a groupbox based solely upon the window rect of the controls. A simple approach to implementing a groupbox checkbox is also explained.
CreateCheckboxImageList - a non-MFC function to create an imagelist of themed checkboxes
Posted: 15 Apr 2008   Updated: 15 Apr 2008   Views: 113,862   Rating: 4.98/5    Votes: 16   Popularity: 5.99
Licence: The Code Project Open License (CPOL)      Bookmarked: 83   Downloaded: 805
CreateCheckboxImageList is a function that creates an imagelist of themed or non-themed checkboxes, suitable for use in tree controls, list controls, and list boxes.
XEmphasisButton - bold and underlined text in a non-ownerdraw button
Posted: 16 Aug 2006   Updated: 23 May 2007   Views: 98,827   Rating: 4.91/5    Votes: 44   Popularity: 8.07
Licence: The Code Project Open License (CPOL)      Bookmarked: 106   Downloaded: 540
XEmphasisButton allows you to display buttons with bold and underlined text without requiring ownerdraw. This means that the button is perfectly compatible with XP themes, and also works on previous Windows versions.

Combo & List Boxes

XTipComboBox - Display tooltips for combobox
Posted: 29 Jun 2003   Updated: 1 Jul 2003   Views: 206,758   Rating: 4.97/5    Votes: 24   Popularity: 6.86
Licence: The Code Project Open License (CPOL)      Bookmarked: 62   Downloaded: 2,527
XTipComboBox implements a combobox with tooltips for the data items (both in the list box and in the edit box)
XListBox - Owner-draw CListBox with selectable text and background colors
Posted: 20 Mar 2002   Updated: 27 Feb 2008   Views: 203,988   Rating: 4.92/5    Votes: 31   Popularity: 7.34
Licence: The Code Project Open License (CPOL)      Bookmarked: 80   Downloaded: 3,455
XListBox is an owner-draw listbox that provides printf-style formatting and selection of text and background colors

Dialogs and Windows

XCharMap - A dialog to display a character map
Posted: 3 Jun 2003   Updated: 3 Jun 2003   Views: 81,485   Rating: 4.72/5    Votes: 18   Popularity: 5.93
Licence: The Code Project Open License (CPOL)      Bookmarked: 27   Downloaded: 1,205
XCharMap demonstrates the use of CXCharMap, a class that displays a character map similar to the Windows Character Map utility.
XHTMLTipOfTheDay - HTML Tip of the Day Dialog
Posted: 14 Jun 2004   Updated: 14 Jun 2004   Views: 42,024   Rating: 4.17/5    Votes: 16   Popularity: 5.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 41   Downloaded: 950
XHTMLTipOfTheDay is a Tip of the Day dialog that displays HTML and has forward and back buttons.
XBrowseForFolder - Wrapper for SHBrowseForFolder
Posted: 24 Sep 2003   Updated: 7 Mar 2008   Views: 146,902   Rating: 4.88/5    Votes: 61   Popularity: 8.70
Licence: The Code Project Open License (CPOL)      Bookmarked: 68   Downloaded: 3,134
XBrowseForFolder wraps the SHBrowseForFolder API, provides a way to specify an initial directory, and cleans up the SHBrowseForFolder dialog.
XFontDialog - Customizing CFontDialog Part I: Adding Font Filters
Posted: 21 Jun 2003   Updated: 7 Oct 2008   Views: 91,747   Rating: 4.80/5    Votes: 33   Popularity: 7.30
Licence: The Code Project Open License (CPOL)      Bookmarked: 40   Downloaded: 1,621
XFontDialog demonstrates how to customize CFontDialog by removing unwanted controls
XMonoFontDialog - Customizing CFontDialog Part II: Selecting Monospaced Fonts
Posted: 22 Oct 2008   Updated: 22 Oct 2008   Views: 14,987   Rating: 4.86/5    Votes: 16   Popularity: 5.85
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 221
XMonoFontDialog is a CFontDialog clone that is customized for selecting monospaced fonts. A custom label has been added to the dialog that informs the user when a monospaced font is selected in the combobox, and bold typeface is used to highlight monospaced fonts in the combobox list.
XMessageBox - A reverse-engineered MessageBox()
Posted: 12 Jul 2001   Updated: 29 Nov 2008   Views: 401,937   Rating: 4.95/5    Votes: 177   Popularity: 11.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 388   Downloaded: 4,685
A reverse-engineered non-MFC MessageBox() that includes custom checkboxes.
XFolderDialog - a folder selection dialog based on CFileDialog
Posted: 16 Mar 2005   Updated: 2 Jun 2010   Views: 207,505   Rating: 4.89/5    Votes: 51   Popularity: 8.34
Licence: The Code Project Open License (CPOL)      Bookmarked: 114   Downloaded: 2,573
XFolderDialog provides a folder selection dialog like that used in MS Word, and includes persistent list view type.
XDialogImport - How to share dialogs between projects
Posted: 18 Jun 2003   Updated: 18 Jun 2003   Views: 60,962   Rating: 4.88/5    Votes: 28   Popularity: 7.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 63   Downloaded: 1,020
XDialogImport describes a simple and effective method for sharing frequently-used dialogs between projects, using some documented and some poorly documented techniques.
XKeyboard - on-screen keyboard
Posted: 4 Apr 2005   Updated: 4 Apr 2005   Views: 105,233   Rating: 4.87/5    Votes: 23   Popularity: 6.63
Licence: The Code Project Open License (CPOL)      Bookmarked: 66   Downloaded: 2,479
XKeyboard eliminates the threat of keyloggers by allowing the user to enter a password by clicking on buttons displayed on an on-screen keyboard.
XFileDialog - Customizing CFileDialog
Posted: 23 Jun 2003   Updated: 23 Jun 2003   Views: 144,780   Rating: 4.86/5    Votes: 21   Popularity: 6.42
Licence: The Code Project Open License (CPOL)      Bookmarked: 66   Downloaded: 14,818
XFileDialog demonstrates how to customize CFileDialog by adding a MRU combobox for folders.

Edit Controls

XEditPrompt - CEdit-derived control with web-like prompt
Posted: 5 Jul 2007   Updated: 20 Jul 2007   Views: 39,800   Rating: 4.87/5    Votes: 23   Popularity: 6.64
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 628
XEditPrompt implements an edit control with built-in prompt and text color, just like you see on web pages.

Files and Folders

XMLProfile - a non-MFC, non-STL class to read and write XML profile files
Posted: 2 Jul 2008   Updated: 2 Jul 2008   Views: 29,906   Rating: 4.89/5    Votes: 43   Popularity: 8.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 106   Downloaded: 832
XMLProfile implements a class to read and write XML profile files that is consistent with the MFC set of profile functions. Conversion functions to allow reading/writing both INI and XML profiles are included. A CWinApp-derived class provides drop-in replacement of the standard MFC profile functio
XResFile - Files Stored in Resources: Part 1 - Text and Binary
Posted: 7 Jul 2007   Updated: 6 Jul 2007   Views: 30,815   Rating: 4.97/5    Votes: 41   Popularity: 8.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 92   Downloaded: 510
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.
XResFile - Files Stored in Resources: Part 3 - Encrypted Files
Posted: 9 Jul 2007   Updated: 9 Jul 2007   Views: 25,925   Rating: 4.92/5    Votes: 25   Popularity: 6.88
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 314
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.
XResFile - Files Stored in Resources: Part 2 - Zip Files
Posted: 7 Jul 2007   Updated: 19 Jul 2007   Views: 32,284   Rating: 5.00/5    Votes: 37   Popularity: 7.84
Licence: The Code Project Open License (CPOL)      Bookmarked: 62   Downloaded: 505
This series of articles is a step-by-step guide to reading files stored in your program's resources. Along the way I will present some non-MFC classes to assist you in reading text, binary, zip, and even encrypted files that have been compiled into your program as resources.
XPEInfo - a non-MFC class to get info from PE file
Posted: 11 Dec 2008   Updated: 11 Dec 2008   Views: 17,123   Rating: 4.95/5    Votes: 20   Popularity: 6.43
Licence: The Code Project Open License (CPOL)      Bookmarked: 47   Downloaded: 316
The XPEInfo APIs allow you to extract information from a PE file. Included in the download is a Windows demo app, and a console app that tests whether a PE file is valid, whether it is 64-bit, contains debug info, is a .Net executable, or is signed. Sample cmd files are provided.
XReverse - Reverse a text file using memory-mapped files
Posted: 14 May 2003   Updated: 14 May 2003   Views: 72,282   Rating: 4.43/5    Votes: 7   Popularity: 3.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 23   Downloaded: 1,054
XReverse reverses a text file line-by-line, so that what was the last line becomes the first line. This is useful when you want to view server logs, for example, with the latest line displayed at the top. Memory-mapped files helps to make XReverse very fast.
XFile - Extending the Win32 File API for Server Applications
Posted: 6 May 2003   Updated: 19 May 2003   Views: 118,148   Rating: 4.89/5    Votes: 41   Popularity: 7.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 112   Downloaded: 2,534
XFile extends the Win32 file functions with a non-MFC class that includes functions to implement file rollover, file shrinking, file compare, buffered writes, mapped file reads, zipping, and automatic file size limits.
XHtmlLog - Convert text log files to HTML
Posted: 30 May 2003   Updated: 30 May 2003   Views: 48,665   Rating: 4.75/5    Votes: 13   Popularity: 5.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 872
XHtmlLog converts delimited text log files to HTML for display by a browser. Callback functions allow the output to be customized prior to HTML generation.
XFileProperties - A modeless dialog to display file properties
Posted: 13 Jun 2003   Updated: 13 Jun 2003   Views: 49,967   Rating: 4.73/5    Votes: 13   Popularity: 5.27
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 929
XFileProperties demonstrates the use of CXFileProperties, a class that displays a modeless dialog similar to the Windows file properties dialog.
XFolderSize - A class to determine folder size
Posted: 11 Jun 2007   Updated: 11 Jun 2007   Views: 29,306   Rating: 4.83/5    Votes: 15   Popularity: 5.68
Licence: The Code Project Open License (CPOL)      Bookmarked: 34   Downloaded: 549
XFolderSize is a non-MFC class that collects folder size, folder count, and file count based on starting folder.

List Controls

XListCtrl - A custom-draw list control with subitem formatting
Posted: 3 Feb 2002   Updated: 6 Sep 2006   Views: 1,184,777   Rating: 4.93/5    Votes: 283   Popularity: 12.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 565   Downloaded: 9,852
A custom-draw list control with support for subitem colors, bold font, progress bars, and checkboxes.

Menus

XPrintHeader - Choose page header format using "More like this" popup menus
Posted: 30 Jul 2003   Updated: 30 Jul 2003   Views: 39,786   Rating: 4.65/5    Votes: 16   Popularity: 5.60
Licence: The Code Project Open License (CPOL)      Bookmarked: 20   Downloaded: 664
XPrintHeader implements a dialog that allows the user to choose the formatting for a page header by dynamically created popup menus.

Miscellaneous

XColourPicker - yet another colour picker control
Posted: 10 Jan 2006   Updated: 9 Jan 2006   Views: 36,864   Rating: 4.87/5    Votes: 20   Popularity: 6.34
Licence: The Code Project Open License (CPOL)      Bookmarked: 25   Downloaded: 296
XColourPicker is a simple drop-in colour picker.
XColorHexagonCtrl - a non-MFC color picker control that displays a color hexagon
Posted: 15 Mar 2008   Updated: 4 Apr 2008   Views: 37,374   Rating: 4.99/5    Votes: 32   Popularity: 7.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 218
XColorHexagonCtrl displays a color hexagon that allows user selection, and provides APIs for color based on RGB and HSL color models.
XColorSpectrumCtrl - a non-MFC color picker control that displays a color spectrum
Posted: 13 Mar 2008   Updated: 4 Apr 2008   Views: 36,763   Rating: 5.00/5    Votes: 52   Popularity: 8.58
Licence: The Code Project Open License (CPOL)      Bookmarked: 52   Downloaded: 369
XColorSpectrumCtrl displays a color spectrum that allows user selection, and provides APIs for color based on RGB and HSL color models.
XColorDialog - an MFC color picker control that displays a color hexagon and a color spectrum
Posted: 5 Apr 2008   Updated: 5 Apr 2008   Views: 27,061   Rating: 5.00/5    Votes: 12   Popularity: 5.40
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 719
XColorDialog displays a color hexagon and a color spectrum that allows user selection, and provides APIs for color based on RGB and HSL color models.
XColorPickerXP - an MFC color picker control with themed look
Posted: 9 Apr 2008   Updated: 9 Apr 2008   Views: 18,931   Rating: 4.57/5    Votes: 13   Popularity: 5.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 16   Downloaded: 470
XColorPickerXP is a simple drop-in color picker based on CComboBox that pops up color selection grid.
XAnalogClock - a skinnable analog clock
Posted: 23 Mar 2006   Updated: 20 Jul 2006   Views: 82,357   Rating: 4.94/5    Votes: 59   Popularity: 8.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 100   Downloaded: 1,339
XAnalogClock displays a nice-looking skinnable analog clock in a small memory footprint.
XScrollBar - Scroll bar like Windows Media Player's
Posted: 9 Sep 2004   Updated: 2 Sep 2008   Views: 122,413   Rating: 4.90/5    Votes: 84   Popularity: 9.44
Licence: The Code Project Open License (CPOL)      Bookmarked: 133   Downloaded: 2,186
XScrollBar is a scroll bar that may be displayed with optional thumb color, thumb gripper, and channel color
ResizeScrollbar - How to change width of built-in scroll bars
Posted: 7 Feb 2002   Updated: 7 Feb 2002   Views: 95,594   Rating: 4.67/5    Votes: 14   Popularity: 5.35
Licence: The Code Project Open License (CPOL)      Bookmarked: 48   Downloaded: 1,808
Changing scroll bar width for Windows controls like listbox
XHyperLink - yet another hyperlink control
Posted: 16 Oct 2003   Updated: 16 Oct 2003   Views: 66,097   Rating: 4.61/5    Votes: 19   Popularity: 5.89
Licence: The Code Project Open License (CPOL)      Bookmarked: 39   Downloaded: 970
XHyperLink is a simple drop-in hyperlink control with optional parent notification.
XSudokuWnd - a control that implements the Sudoku puzzle
Posted: 17 Jan 2006   Updated: 19 Mar 2007   Views: 101,148   Rating: 4.95/5    Votes: 74   Popularity: 9.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 86   Downloaded: 725
XSudokuWnd is an MFC control that implements a solver for the popular Sudoku puzzle, based on D.E. Knuth's Dancing Links algorithm. Example projects show how to use XSudokuWnd in dialog and SDI applications.
XGroupBox - an MFC groupbox control to display text and icon
Posted: 2 Sep 2008   Updated: 2 Sep 2008   Views: 40,658   Rating: 4.98/5    Votes: 52   Popularity: 8.54
Licence: The Code Project Open License (CPOL)      Bookmarked: 70   Downloaded: 1,137
XGroupBox is an MFC control that displays a flicker-free groupbox with text and/or icon. You can use this to display either a standard groupbox or a header-only groupbox.
XProgressWnd - A Popup Progress Window with optional AVI and time
Posted: 3 Nov 2008   Updated: 3 Nov 2008   Views: 29,928   Rating: 4.89/5    Votes: 47   Popularity: 8.18
Licence: The Code Project Open License (CPOL)      Bookmarked: 80   Downloaded: 520
XProgressWnd is a popup progress window that display a progress control and optional AVI animation and estimated time left, without requiring a dialog resource.
XIcon - an MFC control to display text and icon
Posted: 4 May 2008   Updated: 4 May 2008   Views: 23,228   Rating: 4.92/5    Votes: 19   Popularity: 6.29
Licence: The Code Project Open License (CPOL)      Bookmarked: 31   Downloaded: 342
XIcon is an MFC control that displays text and/or icon with auto-sizing.
XGradientZoneBar - an MFC color gradient indicator bar
Posted: 24 Apr 2008   Updated: 19 May 2008   Views: 37,149   Rating: 4.95/5    Votes: 58   Popularity: 8.73
Licence: The Code Project Open License (CPOL)      Bookmarked: 59   Downloaded: 695
XGradientZoneBar displays an indicator bar that allows you to specify multiple zones that are filled with a color gradient, and includes APIs to set the bar orientation, font, and tick marks.
XSuperTooltip - Office 2007 Super Tooltip class
Posted: 31 Jul 2006   Updated: 31 Jul 2006   Views: 129,902   Rating: 4.98/5    Votes: 115   Popularity: 10.26
Licence: The Code Project Open License (CPOL)      Bookmarked: 208   Downloaded: 2,181
XSuperTooltip implements class for displaying super tooltips, which were introduced in Office 2007. The demo download includes super tooltip code generator, that makes it easy to add super tooltips to your application.
XBalloonMsg - a non-MFC balloon-shaped message box
Posted: 23 Jun 2008   Updated: 11 Jul 2008   Views: 98,478   Rating: 4.99/5    Votes: 68   Popularity: 9.14
Licence: The Code Project Open License (CPOL)      Bookmarked: 136   Downloaded: 959
XBalloonMsg displays a message box using balloon-style tooltips. Message and title strings may be embedded or stored in string resource.

Shell and IE programming

ExecApp, ExecRegisteredApp, and LookupRegisteredApp - non-MFC functions to execute an application
Posted: 8 Jun 2008   Updated: 8 Jun 2008   Views: 25,095   Rating: 4.83/5    Votes: 25   Popularity: 6.75
Licence: The Code Project Open License (CPOL)      Bookmarked: 41   Downloaded: 241
ExecApp is a replacement for WinExec(). ExecRegisteredApp executes the app that is registered for the specified file extension. LookupRegisteredApp retrieves the application file path that is registered for the specified file extension.

Static & Panel Controls

XHTMLStatic - An Extra-Lean Custom Control to Display HTML
Posted: 15 Sep 2002   Updated: 25 Oct 2007   Views: 180,677   Rating: 4.92/5    Votes: 45   Popularity: 8.13
Licence: The Code Project Open License (CPOL)      Bookmarked: 148   Downloaded: 2,982
A custom control based on CStatic that interprets and displays common HTML text formatting elements such as bold, italic, color, font, and size, but adds only 16 Kb to your app.
XColorStatic - a colorizing static control
Posted: 16 Oct 2003   Updated: 16 Oct 2003   Views: 100,673   Rating: 4.54/5    Votes: 31   Popularity: 6.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 63   Downloaded: 2,368
XColorStatic is a simple CStatic-based control that provides font changes, text and background colors, and icon display.

Toolbars & Docking windows

XDriveBar - Display drive buttons in a fixed toolbar
Posted: 11 Aug 2003   Updated: 11 Aug 2003   Views: 66,270   Rating: 4.70/5    Votes: 17   Popularity: 5.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 53   Downloaded: 1,453
XDriveBar implements a drive bar for the drives in a system. The demo project shows how to keep the drive bar in sync by handling the WM_DEVICECHANGE message.
XTrueColorToolBar - True-color toolbar with support for Office-style color button
Posted: 17 Dec 2007   Updated: 10 Jan 2008   Views: 42,154   Rating: 4.69/5    Votes: 19   Popularity: 6.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 56   Downloaded: 1,956
XTrueColorToolBar is an MFC class based on CToolBar that provides support for true-color bitmaps, with optional support for an Office-style color picker button.

Tree Controls

XHtmlTree - Tree control with support for HTML, XML, Smart Checkboxes, and Drag & Drop
Posted: 9 Aug 2007   Updated: 1 Jan 2008   Views: 189,893   Rating: 4.97/5    Votes: 153   Popularity: 10.85
Licence: The Code Project Open License (CPOL)      Bookmarked: 330   Downloaded: 6,000
XHtmlTree is an MFC control based on CTreeCtrl, with support for HTML text, web links, APP: links, XML load/save, Smart Checkboxes, and Drag & Drop.

Applications & Tools

XCmyk - CMYK to RGB Calculator with source code
Posted: 5 Jul 2003   Updated: 5 Jul 2003   Views: 189,811   Rating: 4.65/5    Votes: 20   Popularity: 6.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 46   Downloaded: 3,120
XCmyk implements an RGB to CMYK calculator
XTimer - Timer and Stopwatch Utility with Source Code
Posted: 29 May 2003   Updated: 20 Aug 2007   Views: 105,183   Rating: 4.77/5    Votes: 31   Popularity: 7.11
Licence: The Code Project Open License (CPOL)      Bookmarked: 69   Downloaded: 3,603
XTimer provides countdown timer and stopwatch features in a compact MFC dialog app.

Trace and Logs

XTrace.cs - C# trace with printf formatting
Posted: 6 Mar 2010   Updated: 6 Mar 2010   Views: 9,729   Rating: 4.92/5    Votes: 11   Popularity: 5.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 25   Downloaded: 75
XTrace.cs provides printf-style formatting and other useful trace extensions. Module name, line number, and thread id are automatically included in the trace output. Double-clicking the trace line in the Output Window takes you directly to the source file and line in the editor.

GDI

Finding a Font file from a Font name
Posted: 10 Jul 2001   Updated: 10 Jul 2001   Views: 107,144   Rating: 4.47/5    Votes: 21   Popularity: 5.91
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 2,620
How to find the name of a font file, given the display name of a font
XFont - Get font name and file information
Posted: 21 May 2003   Updated: 21 May 2003   Views: 65,396   Rating: 4.60/5    Votes: 13   Popularity: 5.12
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 1,214
XFont retrieves the name of the font file from the regsitry, and the font name from the font file
XFontCombo - An OpenType-aware font combobox
Posted: 26 May 2003   Updated: 26 May 2003   Views: 52,451   Rating: 4.78/5    Votes: 18   Popularity: 6.00
Licence: The Code Project Open License (CPOL)      Bookmarked: 26   Downloaded: 1,049
XFontCombo demonstrates the use of IsOpenType(), a function that determines if a font is OpenType
XBreadCrumbBar - Draw breadcrumb trail with hyperlinks and HTML
Posted: 7 Aug 2007   Updated: 7 Aug 2007   Views: 25,432   Rating: 4.81/5    Votes: 23   Popularity: 6.55
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 399
XBreadCrumbBar is a windowless non-MFC class that allows you to display a breadcrumb trail as HTML text, with support for web links and APP: links.
XHtmlDraw - Draw text with HTML tags and anchor links
Posted: 15 Jul 2007   Updated: 6 Nov 2007   Views: 87,370   Rating: 4.93/5    Votes: 33   Popularity: 7.48
Licence: The Code Project Open License (CPOL)      Bookmarked: 89   Downloaded: 608
XHtmlDraw allows you to display a single line HTML text as easily as using DrawText(), including web links and APP: links, no MFC

C / C++ Language

XGetopt - A Unix-compatible getopt() for MFC and Win32
Posted: 9 Mar 2002   Updated: 20 May 2003   Views: 156,698   Rating: 4.86/5    Votes: 49   Popularity: 8.22
Licence: The Code Project Open License (CPOL)      Bookmarked: 68   Downloaded: 3,377
XGetopt provides drop-in Unix-style command line processing for Win32 and MFC applications
XZip and XUnzip - Add zip and/or unzip to your app with no extra .lib or .dll
Posted: 13 May 2003   Updated: 18 Jul 2007   Views: 373,480   Rating: 4.88/5    Votes: 94   Popularity: 9.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 227   Downloaded: 7,992
XZip and XUnzip provide non-MFC functions to create a zip, add files to it, and extract files from it - all in two .cpp files
XCPClock - CodeProject Clock
Posted: 23 Mar 2006   Updated: 27 Aug 2008   Views: 72,146   Rating: 4.90/5    Votes: 69   Popularity: 9.01
Licence: The Code Project Open License (CPOL)      Bookmarked: 123   Downloaded: 1,132
XCPClock displays CodeProject clock with four skins.

C#

XGetoptCS - A Unix-style getopt() written in C#
Posted: 5 Jun 2007   Updated: 5 Jun 2007   Views: 16,403   Rating: 4.81/5    Votes: 13   Popularity: 5.36
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 128
XGetoptCS provides Unix-style command line processing for C# apps

.NET Framework

XAutobuild - A utility to increment build number
Posted: 6 Jun 2007   Updated: 6 Jun 2007   Views: 21,874   Rating: 4.87/5    Votes: 9   Popularity: 4.23
Licence: The Code Project Open License (CPOL)      Bookmarked: 37   Downloaded: 140
XAutobuild auto-increments the build number contained in Autobuild.h. This can be used in resource files to automatically update the version resource each time a project is compiled.
XFxDetect - A utility to detect which versions of .Net are installed
Posted: 10 Jun 2007   Updated: 12 Mar 2011   Views: 33,790   Rating: 4.86/5    Votes: 38   Popularity: 7.68
Licence: The Code Project Open License (CPOL)      Bookmarked: 85   Downloaded: 612
XFxDetect inspects registry and file system of local or remote computer to determine which versions of .Net Framework are installed.

Win32/64 SDK & OS

XMSAALib - a non-MFC class to retrieve accessibility (MSAA) info
Posted: 10 Feb 2009   Updated: 10 Feb 2009   Views: 19,303   Rating: 4.87/5    Votes: 12   Popularity: 5.25
Licence: The Code Project Open License (CPOL)      Bookmarked: 24   Downloaded: 350
XMSAALib provides APIs that allow you to retrieve MSAA (accessibility) information from a window by using the IAccessible interface. The demo app shows how to build an accessibility object tree from a window.

DLLs & Assemblies

Step by Step: Calling C++ DLLs from VC++ and VB - Part 3
Posted: 28 Feb 2004   Updated: 28 Feb 2004   Views: 144,444   Rating: 4.86/5    Votes: 45   Popularity: 8.03
Licence: The Code Project Open License (CPOL)      Bookmarked: 76   Downloaded: 2,563
This series of articles is a step-by-step guide to constructing C++ DLLs that include C++ functions and C++ classes, and then calling the DLL functions and classes from VC++ and VB programs.
Step by Step: Calling C++ DLLs from VC++ and VB - Part 1
Posted: 28 Feb 2004   Updated: 29 Feb 2004   Views: 645,089   Rating: 4.90/5    Votes: 128   Popularity: 10.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 300   Downloaded: 5,753
This series of articles is a step-by-step guide to constructing C++ DLLs that include C++ functions and C++ classes, and then calling the DLL functions and classes from VC++ and VB programs.
Step by Step: Calling C++ DLLs from VC++ and VB - Part 4
Posted: 2 Mar 2004   Updated: 2 Mar 2004   Views: 293,921   Rating: 4.85/5    Votes: 50   Popularity: 8.24
Licence: The Code Project Open License (CPOL)      Bookmarked: 115   Downloaded: 4,429
This series of articles is a step-by-step guide to constructing C++ DLLs that include C++ functions and C++ classes, and then calling the DLL functions and classes from VC++ and VB programs.
Step by Step: Calling C++ DLLs from VC++ and VB - Part 2
Posted: 28 Feb 2004   Updated: 2 Oct 2009   Views: 297,316   Rating: 4.92/5    Votes: 55   Popularity: 8.57
Licence: The Code Project Open License (CPOL)      Bookmarked: 131   Downloaded: 4,005
This series of articles is a step-by-step guide to constructing C++ DLLs that include C++ functions and C++ classes, and then calling the DLL functions and classes from VC++ and VB programs.

Internet / Network

XIPAddressCtrl - an enhanced IP address control based on CIPAddressCtrl
Posted: 5 Jan 2005   Updated: 5 Jan 2005   Views: 38,801   Rating: 4.43/5    Votes: 17   Popularity: 5.45
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 853
XIPAddressCtrl adds string handling and profile read/write functions to CIPAddressCtrl.
XWSAError - a DLL for Winsock error lookup
Posted: 6 Jan 2005   Updated: 6 Jan 2005   Views: 30,021   Rating: 4.94/5    Votes: 19   Popularity: 6.32
Licence: The Code Project Open License (CPOL)      Bookmarked: 15   Downloaded: 311
Add Winsock error lookup to your C++ or VB app with this DLL.
Single Server, Multiple Clients - Win32/MFC classes for client/server communication with Unicode support
Posted: 26 Jan 2005   Updated: 26 Jan 2005   Views: 66,115   Rating: 4.54/5    Votes: 22   Popularity: 6.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 57   Downloaded: 2,265
An implementation of Liyang Yu's classes for client/server communication for both Win32 and MFC, with Unicode and ANSI support.

String handling

XMemString - Extended memory and string search functions
Posted: 11 May 2003   Updated: 11 May 2003   Views: 51,498   Rating: 4.17/5    Votes: 16   Popularity: 5.02
Licence: The Code Project Open License (CPOL)      Bookmarked: 18   Downloaded: 586
Extended string and memory search functions: memmem(), memimem(), memichr(), _tcsistr()
XTrim - trim leading and trailing whitespace characters
Posted: 20 May 2003   Updated: 20 May 2003   Views: 61,194   Rating: 4.24/5    Votes: 8   Popularity: 3.82
Licence: The Code Project Open License (CPOL)      Bookmarked: 13   Downloaded: 801
XTrim implements _tcsltrim and _tcsrtrim - CRT-like functions to trim whitespace.
XSearch - a class that implements a search engine-style advanced search
Posted: 26 Jul 2005   Updated: 16 May 2007   Views: 47,605   Rating: 4.84/5    Votes: 29   Popularity: 7.08
Licence: The Code Project Open License (CPOL)      Bookmarked: 71   Downloaded: 575
XSearch implements a search engine-style advanced search, including ALL, EXACT PHRASE, AT LEAST ONE, and WITHOUT words. XSearch is based on a multiple-substring search algorithm.
XString - non-MFC non-STL string functions
Posted: 25 Jun 2007   Updated: 7 Aug 2007   Views: 27,930   Rating: 4.91/5    Votes: 15   Popularity: 5.78
Licence: The Code Project Open License (CPOL)      Bookmarked: 29   Downloaded: 454
XString offers functions for remove, replace, trim, and case-insensitive search that are not included in the CRT.
XFormatNumber - A function to format numbers with commas
Posted: 25 Jun 2002   Updated: 25 Jun 2002   Views: 50,807   Rating: 4.55/5    Votes: 13   Popularity: 5.06
Licence: The Code Project Open License (CPOL)      Bookmarked: 21   Downloaded: 696
An easy-to-use function that provides locale-correct comma-formatting of numbers
XTokenString - a function to extract tokens from a string
Posted: 4 Aug 2005   Updated: 4 Aug 2005   Views: 27,195   Rating: 4.70/5    Votes: 21   Popularity: 6.21
Licence: The Code Project Open License (CPOL)      Bookmarked: 43   Downloaded: 260
XTokenString extracts tokens from a string, and returns a CStringArray that contains tokens. A token is defined by specified delimiters; double-quotes may optionally group multiple words into a single token, and an option is provided for handling escaped characters.

Threads, Processes & IPC

XQueue - a non-MFC C++ class to manage an interprocess queue
Posted: 17 Jan 2005   Updated: 17 Jan 2005   Views: 84,736   Rating: 5.00/5    Votes: 46   Popularity: 8.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 106   Downloaded: 1,648
XQueue implements a shared-memory first-in first-out (FIFO) queue, based on memory-mapped files, that works on all versions of Windows.
Thread Debugging with the Thread Information Block
Posted: 5 Jun 2002   Updated: 5 Jun 2002   Views: 65,892   Rating: 4.31/5    Votes: 17   Popularity: 5.31
Licence: The Code Project Open License (CPOL)      Bookmarked: 33   Downloaded: 736
How to use the Thread Information Block to store descriptive information about the thread

Debug Tips

XCrashReport : Exception Handling and Crash Reporting - Part 1
Posted: 19 Oct 2003   Updated: 19 Oct 2003   Views: 140,742   Rating: 4.97/5    Votes: 58   Popularity: 8.76
Licence: The Code Project Open License (CPOL)      Bookmarked: 152   Downloaded: 2,030
Add basic exception handling and crash reporting to your application
XCrashReport : Exception Handling and Crash Reporting - Part 2
Posted: 19 Oct 2003   Updated: 19 Oct 2003   Views: 56,925   Rating: 4.91/5    Votes: 28   Popularity: 7.10
Licence: The Code Project Open License (CPOL)      Bookmarked: 69   Downloaded: 1,074
Add basic exception handling and crash reporting to your application
XCrashReport : Exception Handling and Crash Reporting - Part 3
Posted: 19 Oct 2003   Updated: 19 Oct 2003   Views: 88,303   Rating: 4.96/5    Votes: 49   Popularity: 8.38
Licence: The Code Project Open License (CPOL)      Bookmarked: 101   Downloaded: 1,907
Add basic exception handling and crash reporting to your application
XCrashReport : Exception Handling and Crash Reporting - Part 4
Posted: 19 Oct 2003   Updated: 19 Oct 2003   Views: 337,005   Rating: 4.95/5    Votes: 72   Popularity: 9.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 177   Downloaded: 2,980
Add basic exception handling and crash reporting to your application

Design and Architecture

XBitArray - a non-MFC C++ class to manipulate bits in a bit array.
Posted: 10 Feb 2004   Updated: 10 Feb 2004   Views: 45,666   Rating: 4.71/5    Votes: 25   Popularity: 6.58
Licence: The Code Project Open License (CPOL)      Bookmarked: 34   Downloaded: 691
XBitArray provides functions to set, test, and find bits in an array of bytes.

Hardware & System

Event Logging, Part I: XEventLog - Basic NT Event Logging
Posted: 22 Apr 2003   Updated: 22 Apr 2003   Views: 138,057   Rating: 5.00/5    Votes: 53   Popularity: 8.62
Licence: The Code Project Open License (CPOL)      Bookmarked: 88   Downloaded: 2,131
XEventLog shows how to integrate minimalist NT event logging into your application
Windows Version Numbers
Posted: 11 Jul 2001   Updated: 11 Jul 2001   Views: 99,242   Rating: 4.87/5    Votes: 28   Popularity: 7.05
Licence: The Code Project Open License (CPOL)      Bookmarked: 38   Downloaded: 0
Values returned by GetVersionEx for Windows operating systems
XWinVer - Simple class to get Windows OS version
Posted: 14 Mar 2005   Updated: 13 Jun 2007   Views: 85,185   Rating: 4.86/5    Votes: 31   Popularity: 7.25
Licence: The Code Project Open License (CPOL)      Bookmarked: 60   Downloaded: 1,419
Get Windows OS version and service pack info in numeric and string formats.

Interviews

A Coder Interview With Hans Dietrich
Posted: 5 Oct 2011   Updated: 5 Oct 2011   Views: 7,333   Rating: 4.79/5    Votes: 32   Popularity: 7.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 5   Downloaded: 0
Welcome to our continuing series of Code Project interviews in which we talk to developers about their backgrounds, projects, interests and pet peeves. In this installment we track down Code Project member Hans Dietrich.

Work Issues

Version Control for the Standalone Programmer - Part 1
Posted: 17 Jul 2006   Updated: 29 Jun 2007   Views: 144,229   Rating: 4.86/5    Votes: 101   Popularity: 9.74
Licence: The Code Project Open License (CPOL)      Bookmarked: 281   Downloaded: 0
How to set up TortoiseSVN when working by yourself.
Font Survey: 42 of the Best Monospaced Programming Fonts
Posted: 9 Oct 2008   Updated: 18 Aug 2010   Views: 287,803   Rating: 4.92/5    Votes: 98   Popularity: 9.79
Licence: The Code Project Open License (CPOL)      Bookmarked: 131   Downloaded: 0
This article presents commonly used programming fonts with examples of each font in ClearType and non-ClearType.
No blogs have been submitted.
No video articles have been posted.

Average tips rating: 4.79

Programming Tips

Don't use ALL CAPS in emails [Tip/Trick]
Posted: 21 Mar 2011   Updated: 21 Mar 2011   Rating: 4.57/5    Votes: 5   Popularity: 3.20
Licence: The Code Project Open License (CPOL)      Bookmarked: 2   Downloaded: 0
This Tip talks about not using ALL CAPS in emails.

Author Resources

Use sidebars to improve article readability [Tip/Trick]
Posted: 20 Sep 2010   Updated: 20 Sep 2010   Rating: 5.00/5    Votes: 2   Popularity: 1.51
Licence: The Code Project Open License (CPOL)      Bookmarked: 3   Downloaded: 0
This tip shows how to use the new sidebar css classes to improve readability and add depth to an article.

Hans Dietrich

Software Developer (Senior)
Hans Dietrich Software
United States United States

Member

I attended St. Michael's College of the University of Toronto, with the intention of becoming a priest. A friend in the University's Computer Science Department got me interested in programming, and I have been hooked ever since.
 
Recently, I have moved to Los Angeles where I am doing consulting and development work.
 
For consulting and custom software development, please see www.hdsoft.org.







Advertise | Privacy | Mobile
Beta | 2.5.120516.1 | Last Updated 16 May 2012
Copyright © CodeProject, 1999-2012
All Rights Reserved. Terms of Use
Layout: fixed | fluid