Illustrates how to handle the OnCtlColor message and modify the background colors of edit controls. (The article was updated.)
Latest Edit Control Articles - Page 3
Learn how to create a transparent edit box that works with a bitmap background.
If a multiline Edit Control is created with scroll bars set, the scroll bars are always displayed, even when not needed. Solve this problem using a class such as CScrollEdit, which is presented here.
Allows the dragging and dropping of files with an edit control. In the example, the path name of what you dragged will be determined along with the features of the file (such as last create date).
A prompted edit control.
A New Technique to Add Additional Functions to Windows Controls; a Built-In Expression Calculator in the CEdit Control
Make extra functionality available from Windows controls. See how to extend the simple edit with a built-in expression calculator (just type in the expression and press "=").
Latest Developer VideosMore...
Latest CodeGuru Developer Columns
Quirky and yet persistent, C++ is a language that keeps programmers coming back to it. Pick up some new ways to wrangle it into your workflow.
The Singleton pattern is very flexible. Learn to wrap it around your little finger.
Learn how to change your screen's wallpaper, screensaver, and its settings as well as change your screen's resolution.
Most developers face a grueling challenge to please their end users. We asked their top challenge is. With over 3,000 responses, the results are now available!