Explore an edit control that can display an icon and a prompt text on the background (when the edit control has no text).
Latest Background & Color Articles
Changing the Background Color of an Edit Control
Learn how to change the background color of a text box.
XP Style CColorControl Class with Themed Gradient Buttons
Learn about a set of control-derived classes for a colorful presentation by using XP-styled hottracked controls with themed gradient buttons.
Transparent Edit Using a Pattern Background Brush
This article explains how to create a transparent edit control. Instead of using a NULL_BRUSH for the CtlColor message, we create a pattern brush using a chunk of bitmap from the parent window from the place where the editor is going to be shown.
Changing the Background Color of Edit Controls
Illustrates how to handle the OnCtlColor message and modify the background colors of edit controls. (The article was updated.)
Latest Developer Videos
More...Latest CodeGuru Developer Columns
MFC Integration with the Windows Transactional File System (TxF)
The Transactional File System (TxF), which allows access to an NTFS file system to be conducted in a transacted manner through extensions to the Windows SDK API. MFC 10, has been extended to support TxF and related technologies. This support allows existing MFC applications to be easily extended to support kernel transactions.
.NET Framework: Collections and Generics
The original release of the .NET Framework included collections as .NET was introduced to the Microsoft programming world. The .NET Framework 2.0 introduced generics to complement the System.Collections namespace and provide a more efficient and well performing option. Read on to learn more...

How to use Visual Studio 2012 to Download Images from Websites
Learn how to use a for loop to loop through all of the images found on a web page and save them via the DownloadFile method of the WebClient object.

SOLID Principles in C# - An Overview
SOLID principles form the base for writing good and clean object oriented code in C#. Learn about the S.O.L.I.D principles and explore C# coding samples for each.
