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
Learn how to change the background color of a text box.
Learn about a set of control-derived classes for a colorful presentation by using XP-styled hottracked controls with themed gradient buttons.
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.
Illustrates how to handle the OnCtlColor message and modify the background colors of edit controls. (The article was updated.)
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
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.
Learn to create URLs for webforms that are page-independent.
For a new programmer, the Server Explorer in Visual Studio might need some proper explanation.
Arun Karthick introduces you to the state machine model and shows you how to create a simple working state machine sample using the .NET framework in the C# language.