Click here to Skip to main content
15,885,696 members
Everything / Multimedia / GDI

GDI

GDI

Great Reads

by Paul M Watt
Guide to understanding how to create and use regions with the WIN32 SDK
by Shao Voon Wong
Tracing GDI Leaks with Windows Debugger
by 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.
by Keith Rule
Create visually complex, yet programmatically simple, non-rectangular GUIs

Latest Articles

by Shao Voon Wong
Tracing GDI Leaks with Windows Debugger
by Andy De Filippo
Render Rich Text with GDI+ by tapping into the power of API hooking
by AdventureDriver
Creating a optionally sheared mirrored image from a source image in a collage
by David O'Neil
Everybody Loves the Mandelbrot Set! Here's a browser for it!

All Articles

Sort by Title

GDI 

27 Mar 2007 by vishalkmehta
This article demonstrates how to leverage the power of images and inheritance to achieve a "skinned" look for your Windows applications.
24 Jan 2005 by darkoman
An article on creating 2D animated charts using Windows GDI.
20 Jul 2012 by Dr. Vinayak Ashok Bharadi
Two dimensional Fast Fourier Transform of an image in C#.
14 Apr 2014 by auralius manurung
An article on designing your own robot simulator
8 Oct 2009 by Anthony Mushrow
Create and edit 2D maps using tiles
1 Apr 2019 by veen_rp
Smooth a 2D polyline through interpolation (Catmull-Rom) or approximation (Chaikin)
18 Mar 2011 by darkoman
This article is about the 3D software rendering engine.
17 Feb 2009 by MikeTheDwarf
Helper class to display 3D data
19 Apr 2005 by Itay Sagui
Introduction to the basic idea of the particle systems, and how to create basic effects such as explosions and water fountains.
18 Feb 2010 by see1see
A practice of using Windows GDI and Winsock.
27 Aug 2003 by ucc801
A cool GDI pattern brush tool with C++ source code. You can create a new office XP style pattern fill mode quickly.
8 May 2008 by Davidwu
A Cool Vista Sidebar Gadget Style CPUInfo Animate Control! (Fixed)
6 May 2005 by Naveen Karamchetti
Creation of a custom drawing application based on the .NET Panel class.
24 May 2007 by Nicolas Bonamy
A grid to display and edit properties of objects (as in Visual Studio)
9 Apr 2002 by Paul M Watt
Guide to understand the three different types of clipping regions, and how they relate to the Device Context
29 Dec 2010 by yonken
A multi-select tree control that is based on Richard's implementation
10 Dec 2007 by Mohammed Abd Alla
This is a simple class that can view scroll and zoom pictures
21 Dec 2009 by P.Sandgren
A simple custom progressbar.
28 Dec 2009 by Aric Wang
Just a simple digital LCD class and do not use an external bitmap.You can use and change it.
5 Aug 2003 by BadJerry
Drawing HTML text onto a device context
8 Sep 2006 by Polymorpher
Animate and control sprites using GDI+.
18 Aug 2011 by Dave Franco
Adding Lightbox effect to Winform Applications
20 Jun 2007 by Stefan Kuhr
Adding Aero Glass to Windows applications while keeping them backwards-compatible with legacy Windows versions
18 Jun 2016 by 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).
19 Jun 2007 by lano1106
Exploring the MFC GDI classes' inner working and proposing an alternative
5 Oct 2009 by Jeff J Anderson
An alpha channel composited form for image based Window frames
22 Dec 2007 by YangXiaoWang
An apple style docking bar implemented by eGui lib
11 May 2010 by Gustavo Ricardi
A Remote Desktop software built on AJAX, JSON and HTML5
4 Oct 2003 by Terry O'Nolley
An article using GDI to create a scalable periodic table of the elements
17 Apr 2000 by Anton Stuck
A class that provides some simple, yet spectacular window animation effects. Try the demo!
28 Jan 2015 by syed shanu
Animated Image Slide Show for Winforms using C#
17 Jul 2010 by Hoang Khanh Nguyen
A highly object-oriented ListView control with varying-height items and support of complex data types
1 Dec 2007 by darkoman
An article on a simple but efficient method to do antialiasing using plain Windows GDI
6 Nov 2007 by .Suchit
Generating smooth lines with antialiasing; sample code for animation is included
17 Apr 2003 by Barretto VN
Article on changing screen resolution
20 May 2002 by Jason Henderson
Draw and animate ASCII characters to a window using this COM object.
11 Jun 2009 by brochpirate
Audio player designed specifically for listening to audio books
14 Aug 2014 by Jamie Nordmeyer
A class to make working with LOGFONTs easier
19 Nov 1999 by Maximilian Pasternak
11 Jan 2003 by Barretto VN
An article showing methods of screen capture
25 Jun 2012 by codiemorgan
Basics for setting up a 2D Game using GDI+, Renderloop, and Threading. And a few tips.
16 Nov 2004 by peterchen
Using boost, we can write "almost perfect" wrappers for GDI and other resource handles, in a few lines of code.
15 Dec 2011 by shynet
Stream a live camera video stream or single images between applications using the TCP protocol.
30 Jun 2008 by Giawa
Implements a Rubber Rectangle in C#.
20 Jun 2006 by Ertan Tike
24 Apr 2006 by Franc Morales
A simple wrapper to dynamically install/uninstall application specific fonts from compiled resources.
3 Mar 2000 by Chris Becke
Notes on TrackMouseEvent, and SetCapture on Win32
24 Nov 1999 by Anneke Sicherer-Roetman
CAutoPen Class - a CPen that is correctly destroyed
11 Feb 2009 by darkoman
An article on a free C++ bitmap manipulation class
3 May 2007 by Elia Sarti
A CPaintDC replacement in OnPaint painting. Simply change CPaintDC dc(this) in CBufferDC dc(this), and you're done.
26 Feb 2009 by auralius manurung
A reusable class for drawing a simple graph
17 Sep 2004 by Andrzej Markowski
An owner-draw bitmap button and a frame for the caption bar, in one class.
29 Jan 2006 by lgaudouen
A ListBox which could display and allow selection of fonts, with special features.
7 Aug 2001 by PPresedo
This article demonstrates a tool for previewing foreground and background color combinations.
22 Oct 2001 by David Hall
An article describing the CColor class - an RGB encapsulation which supports named colors, system colors and translation to HSV values.
15 Nov 2005 by Emmanuel Arun Vinod
Creates a full screen window and shows a color gradient on it
25 Mar 2007 by Chrisi476
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.
28 Aug 2006 by Jeremy Falcon
Aids developers with color intensities
14 Feb 2005 by Alberto_Martinez
Very addictive game that demonstrates some GDI, sound, and 100% solvable puzzle creation (from all the testing so far).
19 Dec 2006 by PJ Arends
Code snippet that compares two HBITMAP handles to see if the bitmaps they contain are the same
27 Jan 2015 by syed shanu
USL/LSL Control Chart using .NET for Quality Control
15 Mar 2011 by rld1971
How to draw and manage shapes onscreen via mouse gestures
6 Jul 2007 by nguyenthanhtungtinbk
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
3 May 2007 by 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
10 Dec 2001 by Yuriy Zaporozhets
Very primitive function that creates region from *.bmp files
23 Jun 2004 by MaxHacker
A fix for creating pens using PS_DOT.
6 Feb 2000 by Keith Rule
Create visually complex, yet programmatically simple, non-rectangular GUIs
6 Feb 2000 by Amir Zalzberg
How to create a window with holes in it
9 Feb 2005 by Paul C Smith
Apply a translucent watermark to a JPEG image using VB.NET.
29 Sep 2005 by JtR1977
A self drawing, round button for different styles and usages.
22 Jan 2005 by Henry Tan Setiawan
A simple SpeedoMeter class based on CStatic base class.
13 Dec 2006 by darkoman
An article on anti-aliased C++ drawing.
13 Nov 2011 by T.Kojima
Suggestion about another curve representation
15 Jul 2000 by Dave Lorde
Simple customised Window captions, including multi-line captions
11 Jun 2004 by valdok
Regions encapsulation in light-weight C++ objects.
12 Apr 2007 by kenearle
Put anything you want in a ToolTip
6 Dec 2004 by Mike O'Neill
How to use custom draw to change the appearance of a Track Bar control and CSliderCtrl.
27 Aug 2000 by Randy More
Provides a memory based DC into which an image may be drawn using standard GDI calls.
2 Nov 2019 by Alaa Ben Fatma
Use your skills as a designer to create gorgeous control
12 Sep 2006 by Hadi Dayvary
25 Oct 2002 by Chen Su
Simple function to enable you to programmatically detect the user-selected font at runtime
24 Jan 2001 by Jason Troitsky
A class that encapsulates some useful, GUI related, static functions
6 Jan 2004 by maciejr
A resolution changer to get per-user resolution settings
17 Aug 2002 by Barretto VN
4 Dec 2009 by Dr. Vinayak Ashok Bharadi
Digitzer device interface using VBTablet in C#.
14 Dec 1999 by Bernd Wißler
Demonstrates how to use an animated gif stored in your resource file as an animated cursor
13 Jun 2002 by lucy
How to achieve flicker-free drawing when using the methods MFC provides
15 Jan 2004 by Alex Kolesnichenko
CDC descendant with double buffering abilities
19 Apr 2011 by 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.
22 Dec 2014 by Gerald Degeneve
Draw or render a Windows Form directly over the Wallpaper, behind the Desktop Icons in Windows 8+10
21 Jun 2001 by Wooseok Seo
You can implement skin control by returning a brush from the OnCtlColor() method.
28 Oct 2004 by Ukkie9
A drop-in replacement for the DrawText() SDK function with minimal HTML support
30 Nov 2002 by Jamie Hale
How to draw arrows (with arrowheads) to an arbitrary DC
22 Jul 2014 by Ray K
Visual Style-like image stretching for custom skinning
12 Apr 2002 by Davide Pizzolato
Quick reference to draw lines, shapes, or text on bitmaps
16 Mar 2005 by Henrik Pettersson
Functions for drawing Bezier splines on Pocket PC. Since they are missing in GDI for Pocket PC.