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 CodeGuru Developer Columns
With the addition of the C/C++ extension to Visual Studio Code, you might have what is needed in a small, cross-platform editor.
Become more proficient with the functionalities of the QR (Quick Response) Code library that works with ASP.NET MVC applications.
Learn to write a program, in C# or VB.NET, to identify chemical elements on the Periodic table through the use of LINQ and the element's atomic number.
Onion Architecture addresses the challenges faced with 3-tier and n-tier architectures, and provides a solution for common problems.