Click here to Skip to main content
13,904,127 members


Great Reads

by Yuriy Zaporozhets
Very primitive function that creates region from *.bmp files
by Paul M Watt
Guide to understanding how to create and use regions with the WIN32 SDK
by Michael Dunn
Create custom tasks in your app's jump list on Windows 7
by Michael Dunn
How to use power status notifications to make your applications conserve power when necessary.

Latest Articles

by .dan.g.
A hierarchical task manager with native XML support for custom reporting
by Dominik Reichl
KeePass is a free, open source, light-weight and easy-to-use password manager.
by Mojtaba Hosseini
A graphical binary tree. Features: add, remove, or search for a node. Recursive algorithm has been used
by TwinLane
A non rectangular/transparent splash screen control that starts life before the Application Form

All Articles

Sort by Updated


17 Mar 2019U
A hierarchical task manager with native XML support for custom reporting
6 Nov 2007
Generating smooth lines with antialiasing; sample code for animation is included
22 Jun 2016
Alaa Ben Fatma
Use your skills as a designer to create gorgeous controls.
23 Aug 2016
Alaa Ben Fatma
Inherits the awesome style of Visual Studio's TabControl for better exploiting
15 Feb 2005
Very addictive game that demonstrates some GDI, sound, and 100% solvable puzzle creation (from all the testing so far).
28 Jul 2001
Ales Krajnc
An include file that allows you to specify colors by name instead of RGB value
28 Aug 2009
Alex Blekhman
A simple Calendar utility that demonstrates basic Shell extensibility techniques: desk band, tray notification icon, locales.
15 Jan 2004
Alex Kolesnichenko
CDC descendant with double buffering abilities
26 Jul 2018
Alexandru Matei
Shows an alternative to GetCharABCWidths and GetCharABCWidthsFloat
27 Jan 2014
Amazing LED Display
High Performance Method for Capturing Screen
6 Feb 2000
Amir Zalzberg
How to create a window with holes in it
1 Sep 2014
Andre van Dun
Flexible SVG tile based dashboard in C#
17 Sep 2004
Andrzej Markowski
An owner-draw bitmap button and a frame for the caption bar, in one class.
10 Sep 2018
Andy De Filippo
GDI+ does not support rendering of Rich Text and this has always represented a challenge for developers. The approach described in this article offers a solution to such limitation by tapping into the power of API hooking.
27 Jan 2003
Aniket Nayak
This cursor can magnify...
24 Nov 1999
Anneke Sicherer-Roetman
CAutoPen Class - a CPen that is correctly destroyed
8 Oct 2009
Anthony Mushrow
Create and edit 2D maps using tiles
17 Apr 2000
Anton Stuck
A class that provides some simple, yet spectacular window animation effects. Try the demo!
11 Nov 2009
Send E-mail via Application with an HTML editor and a drawer to draw your own attachments and send them immediately.
4 Oct 2008
Ardavan Sharifi
in this Article we following how to dynamic validation data with defind validation type and use of regular expression
28 Dec 2009
Aric Wang
Just a simple digital LCD class and do not use an external bitmap.You can use and change it.
26 Feb 2009
auralius manurung
A reusable class for drawing a simple graph
14 Apr 2014
auralius manurung
An article on designing your own robot simulator
5 Aug 2003
Drawing HTML text onto a device context
17 Aug 2002
Barretto VN
Digital analog clock
11 Jan 2003
Barretto VN
An article showing methods of screen capture
17 Apr 2003
Barretto VN
Article on changing screen resolution
14 Dec 1999
Bernd Wißler
Demonstrates how to use an animated gif stored in your resource file as an animated cursor
2 Jun 2008
Bharath NS
Multithreaded GUI solution for starvation in Dining Philosopher problem
16 Aug 2004
Bob Carboni
Code for creating transparent, blended bitmapped buttons.
11 Jun 2009
Audio player designed specifically for listening to audio books
30 Aug 2011
Non-affine transformations, four-point distortions, or whatever you want to call it.
11 Jul 2004
Catalin Stavaru
This light, yet very usable, application notifies users when new mail is received on multiple GMail (and other) accounts. Written in C++/MFC. No .NET framework, no browser instances launched, low system resource requirements!
3 Jan 2009
To learn the usages of TrueType structures, TTPOLYGONHEADER and TTPOLYCURVE.
25 Oct 2002
Chen Su
Simple function to enable you to programmatically detect the user-selected font at runtime
3 Mar 2000
Chris Becke
Notes on TrackMouseEvent, and SetCapture on Win32
15 Aug 2013
Chris Boss
OpenGL based 3D learning software
18 Jul 2014
Chris Copeland
Making use of buffering techniques to efficiently and flawlessly render large quantities of items in list controls
26 Jan 2000
Chris Maunder, NormDroid, Santosh Rao
Shows how to use the DrawAnimatedRects function to improve the look of your apps.
25 Mar 2007
This article describes ColorTextBox, a customizable User Control which was written completely from scratch and is intended to fill the gap between the TextBox and RichTextBox controls found in the .NET 2.0 library.
12 Jul 2009
How to make your customized UI using transparent components?
25 Jun 2012
Basics for setting up a 2D Game using GDI+, Renderloop, and Threading. And a few tips.
19 Dec 2007
A small DLL providing two functions to resample GDI-based bitmap
18 Sep 2000
Craig Henderson
A Device Context class to draw on a window outside of a WM_PAINT handler
9 Feb 2010
This article tries to find a way to show standard controls, ActiveX controls, translucent controls on layered windows. Native MFC source code provided.
24 Jan 2005
An article on creating 2D animated charts using Windows GDI.
13 Dec 2006
An article on anti-aliased C++ drawing.
21 Feb 2007
An article on rendering reflections and shadows using Windows GDI
28 Oct 2007
An article on creating glow and shadow effects using plain Windows GDI
1 Dec 2007
An article on a simple but efficient method to do antialiasing using plain Windows GDI
11 Feb 2009
An article on a free C++ bitmap manipulation class
18 Mar 2011
This article is about the 3D software rendering engine.
16 Aug 2013
A modified version of the Bresenham's line drawing algorithm
18 May 2017
Article about the 2D isometric game engine
19 Aug 2011
Dave Franco
Adding Lightbox effect to Winform Applications
15 Jul 2000
Dave Lorde
Simple customised Window captions, including multi-line captions
1 Aug 2009
Component for adding scriptable forms capabilities to an application.
22 Oct 2001
David Hall
An article describing the CColor class - an RGB encapsulation which supports named colors, system colors and translation to HSV values.
31 Mar 2018
David O'Neil
Everybody Loves the Mandelbrot Set! Here's a browser for it!
12 Apr 2002
Davide Pizzolato
Quick reference to draw lines, shapes, or text on bitmaps
9 May 2008
A Cool Vista Sidebar Gadget Style CPUInfo Animate Control! (Fixed)
2 Jan 2019
Dominik Reichl
KeePass is a free, open source, light-weight and easy-to-use password manager.
27 Aug 2003
Don Kackman
Class wrappers around the Win32 multi-monitor API
20 Jul 2012
Dr. Vinayak Ashok Bharadi
Two dimensional Fast Fourier Transform of an image in C#.
5 Dec 2009
Dr. Vinayak Ashok Bharadi
Digitzer device interface using VBTablet in C#.
1 Aug 2006
A multi-threaded GDI simulation of the famous problem
10 Apr 2008
Durga Prasad Dhulipudi
This is useful mainly in CAD/GIS and allied applications where there is a need for customized line types.
29 Dec 2008
Durga Prasad Dhulipudi
Rendering ESRI Shapefiles(.shp) using OpenGL
1 Oct 2005
Describes the summed area table algorithm of Franklin Crow.
12 Oct 2002
How to create a color gradient as a background in a SDK application.
14 Jan 2005
Get icons from Exe or DLL the PE way or how to emulate PrivateExtractIcons.
3 May 2007
Elia Sarti
A c++ function which uses GDI to create a channel based version of an icon. Using all the channels you can create a gray scale one
3 May 2007
Elia Sarti
A CPaintDC replacement in OnPaint painting. Simply change CPaintDC dc(this) in CBufferDC dc(this), and you're done.
15 Nov 2005
Emmanuel Arun Vinod
Creates a full screen window and shows a color gradient on it
14 Feb 2001
Eric Crahen
Display Chinese & Japanese characters on unicode & non-unicode systems
20 Jun 2006
Ertan Tike
A calendar DayView control.
30 May 2010
Evgeniy Stepanow
Control to display the time progress line
25 Jan 2013
StarReport: WPF-less GDI+.NET report component.
25 Mar 2002
Florin Vasilescu
A simple application that retrieves the color codes from any area of your screen, with some cool options.
24 Apr 2006
Franc Morales
A simple wrapper to dynamically install/uninstall application specific fonts from compiled resources.
23 Dec 2014
Gerald Degeneve
Draw or render a Windows Form directly over the Wallpaper, behind the Desktop Icons in Windows 8+10
15 Sep 2009
This article presents code for a WinForms implementation of the Google-like compact progress indicator.
30 Jun 2008
Implements a Rubber Rectangle in C#.
12 Oct 2016
As users are migrating from traditional desktops to mobile devices, transitioning your Windows application to the web is the next step to increasing your exposure. Thinfinity VirtualUI delivers your Windows applications to users on any device, anywhere.
11 May 2010
Gustavo Ricardi
A Remote Desktop software built on AJAX, JSON and HTML5
12 Sep 2006
Hadi Dayvary
A Desktop puzzle game.
17 Jan 2000
Hans Bühler
A memory DC that allows you to rotate your graphics
10 Jul 2001
Hans Dietrich
How to find the name of a font file, given the display name of a font
21 May 2003
Hans Dietrich
XFont retrieves the name of the font file from the regsitry, and the font name from the font file
26 May 2003
Hans Dietrich
XFontCombo demonstrates the use of IsOpenType(), a function that determines if a font is OpenType
6 Nov 2007
Hans Dietrich
XHtmlDraw allows you to display a single line HTML text as easily as using DrawText(), including web links and APP: links, no MFC
7 Aug 2007
Hans Dietrich
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.
16 Mar 2005
Henrik Pettersson
Functions for drawing Bezier splines on Pocket PC. Since they are missing in GDI for Pocket PC.
22 Jan 2005
Henry Tan Setiawan
A simple SpeedoMeter class based on CStatic base class.
17 Jul 2010
Hoang Khanh Nguyen
A highly object-oriented ListView control with varying-height items and support of complex data types
29 Oct 2007
Horia Tudosie
Produces color sets by adveraging areas of colors from scanned pictures
13 May 2009
Automation framework application development, realize the software functions and software frame separation. Support plug-in support theme
20 Dec 2006
Igor Tolmachev
This article explains how to create an application that makes it snow on the desktop.
24 Jul 2006
A generic class to import Adobe's Photoshop (.psd) images.
28 Sep 2006
A generic class to import Adobe's Photoshop (.psd) images under PocketPC Windows Mobile 2003.
16 Nov 2009
Inaki Ayucar
Why not building your own C# Maths library instead of using the ones included in APIs like DirectX or XNA?
3 Nov 2008
An article explaining several Win32 reverse engineering techniques applied to Live Messenger research and plug-in development.
19 Apr 2005
Itay Sagui
Introduction to the basic idea of the particle systems, and how to create basic effects such as explosions and water fountains.
26 Sep 2000
A simple function to rotate text around its center point within a rectangle
16 Sep 2008
An article to show how to play a Wave file with DirectSound and display its spectrum in real time.
21 May 2009
An article to show how to play a Wave file with DirectSound and display its spectrum in real time.
24 Dec 2008
An article to show how to play audio file with DirectSound and display its spectrum in real time accurately
30 Nov 2002
Jamie Hale
How to draw arrows (with arrowheads) to an arbitrary DC
14 Aug 2014
Jamie Nordmeyer
A class to make working with LOGFONTs easier
31 Oct 2005
This dynamically reziable control does not flicker. The article describes the problem and the technique used to solve the flickering.
20 May 2002
Jason Henderson
Draw and animate ASCII characters to a window using this COM object.
24 Jan 2001
Jason Troitsky
A class that encapsulates some useful, GUI related, static functions
11 Mar 2003
Functions for tiling region and stretching region.
5 Oct 2009
Jeff J Anderson
An alpha channel composited form for image based Window frames
28 Jan 2008
Jeff Morton
Audio event processing with visual display
15 Aug 2007
Jeff Morton
Simple sound sampler with visualization
28 Aug 2006
Jeremy Falcon
Aids developers with color intensities
24 Nov 2014
Jeremy Falcon
A beginner's guide to talking like a computer.
24 Jun 2012
Screenshot Tool
12 Mar 2004
John R. Shaw
Design and implementation of efficient flood fill algorithms.
28 Jul 2006
John Simmons / outlaw programmer
Copy a bitmap over a portion of another bitmap
11 Aug 2004
This article shows how to process one or many MSI packages just by providing a configuration file. It gives also many useful hints and tricks that can be used in other projects.
12 Dec 2008
Johnny J.
A Nero style "progress" bar with multiple color segments
11 Sep 2015
Johnny J.
A ToggleSwitch that presents on/off values in a more interesting way than a standard CheckBox
19 Aug 2008
Jon Person, A. Philip Smith
In part three of the series, the authors of the "GIS.NET" mapping component for .NET explain how to write a geographic mapping engine which can display geographic coordinates. Source code is provided which can pan and zoom a sample geographic object (the state of Nebraska), in C# and VB.NET.
31 Mar 2001
Joseph M. Newcomer
Learn how to effectively draw your dialogs
16 May 2000
Joseph M. Newcomer
Learn about who owns the GUI definition and pitfalls of GUI programming
27 Mar 2001
Joseph M. Newcomer
GDI objects selected in a DC can't be deleted - even when you call DeleteObject. This handy class makes these potential leaks a thing of the past.
28 Mar 2008
João Paulo Figueira
Control your Windows Mobile device from your desktop.
29 Sep 2005
A self drawing, round button for different styles and usages.
25 Mar 2002
Keith Rule
A simple animation example which is used to show CMemDC in several modes
6 Feb 2000
Keith Rule
Create visually complex, yet programmatically simple, non-rectangular GUIs
20 Mar 2006
To help you build Rich Text Drawing, Print Preview, Printing to paper support report application quickly and easily, includes source code
12 Apr 2007
Put anything you want in a ToolTip
26 Sep 2008
Lalith Bommera
A simple AJAX approach that includes an HTML page client, and a JavaScript making an AJAX call and receiving a response. A remote page will receive the parameter information and respond to the JavaScript call method with the necessary information.
19 Jun 2007
Exploring the MFC GDI classes' inner working and proposing an alternative
29 Jan 2006
A ListBox which could display and allow selection of fonts, with special features.
24 Feb 2002
How to use SetWorldTransform() to draw basic shapes rotated by any angle
13 Jun 2002
How to achieve flicker-free drawing when using the methods MFC provides
6 Jan 2004
A resolution changer to get per-user resolution settings
9 Jul 2012
Manoj K Bhoir
MBGlassPanel with Microsoft Office Ribbon Visual Style
13 Feb 2010
1 alternative  
Capture an HTML document as an image.
18 Jun 2012
Mark Kruger
API which shows a Selection Overlay and notifies the caller when it's resizing and notifies the final rectangle.
17 Sep 2005
Mathew Hall
A fully customisable ListView style control based on Java's JTable.
26 Nov 2008
A simple and useful viewer of multipage TIF/TIFF images
24 Apr 2014
Mattias Högström
Learn the basics of how to draw with GDI on screen and to printer. We will look closer at the different GDI map modes, and how to do proper adjustments when you need to send the output to a printer. We will also create a metafile and load it back in again.
23 Jun 2004
A fix for creating pens using PS_DOT.
6 May 2009
Algorithm for easy transformation images
19 Nov 1999
Maximilian Pasternak
Autopan within your own application
2 Jun 2006
Michael Dunn
A tutorial on writing an extension to customize the icons displayed for a file type.
31 Dec 2005
Michael Dunn
Using the new WTL classes that implement advanced dialog UI elements
29 Dec 2006
Michael Dunn
How to add glass to your application's main window.
29 Dec 2006
Michael Dunn
How to use power status notifications to make your applications conserve power when necessary.
19 May 2009
Michael Dunn
An intro to using jump lists with your Windows 7 applications
29 Jun 2009
Michael Dunn
Create custom tasks in your app's jump list on Windows 7
14 Sep 2009
Michael Dunn
An intro to using Taskbar progress bars and overlay icons with your Windows 7 applications
22 Feb 2011
Michael Dunn
A tutorial that shows how to get started using the Ribbon in your applications
18 Jul 2011
Michael Dunn
This article shows how to control various Ribbon and command properties at runtime
12 Sep 2011
Michael Dunn
This article demonstrates new button and menu features of the Ribbon
12 Jun 2014
Michael Haephrati
How Target Eye's screen capturing mechanism works
17 Nov 2011
Michael Hodel
Enigma Puzzle – a game as difficult as the Rubik's cube
17 Aug 2009
Michael Mangelsdorf
A DLL implemented in assembler featuring a console GUI component.
6 Dec 2004
Mike O'Neill
How to use custom draw to change the appearance of a Track Bar control and CSliderCtrl.
17 Feb 2009
Helper class to display 3D data
16 Feb 2013
Utility to capture full or part of screen with support for multiple screens.
20 Nov 2005
Mohamed Elzahaby
how to get the Font File Name from the Font Name
17 Sep 2008
Mohammad Dehghan
Creating special 'Graphics' objects to Draw anywhere on your window, including non-client area
10 Dec 2007
Mohammed Abd Alla
This is a simple class that can view scroll and zoom pictures
31 Mar 2010
Mohd Arshad Malik
To uniquely identify the images from our storage, we watermark them with some text (usually company / portal name)
31 Mar 2010
Mohd Arshad Malik
.NET provides extensive support for image conversion. Any image can be processed from one format to another. The most common formats which .NET support are .BMP, .EMF, .GIF, .ICO, .JPG, .PNG, .TIF and .WMF.
31 Mar 2010
Mohd Arshad Malik
This article guides about optimization of the size of an image file (in bytes) and resizing its dimensions (in pixels).
7 Oct 2018
Mojtaba Hosseini
A graphical binary tree. Features: add, remove, or search for a node. Recursive algorithm has been used
30 May 2008
Mostafa Kaisoun
View one row numeric data of MSFlexGrid as Graph Chart
6 May 2005
Naveen Karamchetti
Creation of a custom drawing application based on the .NET Panel class.
6 Jul 2007
This article shows you the advantage of PNG images with alpha-blending feature in creating animation and demonstates how to use PNG images in Framework.NET application by calling API
10 Mar 2008
Nibu babu thomas
Lists out the details of running processes in a system, loaded drivers, loaded dlls, version of each dll and process, process times, command line, owner, priority, GDI resource usage, privileges, loaded symbols, window heirarchy, autostart app finding and more.
25 May 2007
Nicolas Bonamy
A grid to display and edit properties of objects (as in Visual Studio)
9 Jun 2002
Nish Nishant
Beginner article that shows how you can create horizontal, vertical and diagonal backgrounds. Also tells you what to watch out for, to avoid flickering when doing complicated drawing.
23 Mar 2015
Novar Striker
Multi technics in one application, for an extreme relaxation moment
29 May 2011
This article demonstrates a file preview control in a WTL application.
1 Sep 2005
An article about how to enhance current image characteristics
21 Dec 2009
A simple custom progressbar.
10 Sep 2005
Paolo Martinoli
A program to play Solitaire puzzle and to seek solutions using backtracking.
18 Jun 2016
Patrik Mlekuž
Image Control for viewing most common image formats with advanced features included (Import Image, Preview, Resize, Position, Pan, Zoom, Export Image, Extract Resource Icon).
9 Feb 2005
Paul C Smith
Apply a translucent watermark to a JPEG image using VB.NET.
10 Mar 2002
Paul M Watt
Guide to understanding how to create and use regions with the WIN32 SDK
20 Mar 2002
Paul M Watt
Beginner's guide to understanding how to paint to a window in the WIN32 SDK environment
4 Apr 2002
Paul M Watt
Guide to understanding how Windows generates WM_PAINT messages, manages the update region for a window, and how to use all common type DCs.
9 Apr 2002
Paul M Watt
Guide to understand the three different types of clipping regions, and how they relate to the Device Context
21 Jul 2011
Paul M Watt
Guide to creating and using Memory Device Contexts (DC) in Win32.
9 Sep 2011
Paul M Watt
With respect to Image Composition, your imagination is your only limit.
19 Apr 2011
Paula Scholz
Using pure Win32, WinInet, and STL Vectors, we open an Internet connection, download, and display a Google map on a Windows Mobile phone.

Advertise | Privacy | Cookies | Terms of Service
Web05 | 2.8.190306.1 | Last Updated 26 Mar 2019
Copyright © CodeProject, 1999-2019
All Rights Reserved.
Layout: fixed | fluid