The Wayback Machine - https://web.archive.org/web/20090924063438/http://www.codeguru.com:80/cpp/controls/editctrl/

CodeGuru
Earthweb Search
Login Forums Wireless Jars Gamelan Developer.com
CodeGuru Navigation
RSS Feeds

RSSAll

RSSVC++/C++

RSS.NET/C#

RSSVB

See more EarthWeb Network feeds

follow us on Twitter

Member Sign In
User ID:
Password:
Remember Me:
Forgot Password?
Not a member?
Click here for more information and to register.

jobs.internet.com

internet.commerce
Partners & Affiliates
















Home >> Visual C++ / C++ >> Controls >> Edit Control


Edit Control

Background & Color



Edit Control with Icon and Background Text
Rating: none
Marius Bancila - 03/24/2008
Explore an edit control that can display an icon and a prompt text on the background (when the edit control has no text).

[Updated] Changing the Background Color of an Edit Control
Rating:
Kevin Bond - 01/25/2005
Learn how to change the background color of a text box.

XP Style CColorControl Class with Themed Gradient Buttons
Rating: none
Anders Sandberg - 10/04/2004
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
Rating:
Jose Reyes - 04/02/2004
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
Rating:
Duncan Weir - 05/19/2003
Illustrates how to handle the OnCtlColor message and modify the background colors of edit controls. (The article was updated.)


Edit Control



[Updated] An E Notation Numeric Edit Control
Rating:
Mike Scanlon - 05/12/2004
An E Notation Numeric Edit Control

Multiline Edit Box with Automatic Scroll Bar Display
Rating:
George Anescu - 01/13/2003
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.

Using the CEdit Control (Drag-and-Drop)
Rating: none
Ahmad Shyazli - 10/30/2002
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).

Drag text between edit controls
Rating: none
Sam Lu - 10/01/2002
A prompted edit control.

A New Technique to Add Additional Functions to Windows Controls; a Built-In Expression Calculator in the CEdit Control
Rating: none
Lachezar Gorchev - 09/16/2002
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 "=").

Subclassing controls in ATL dialogs using WTL
Rating: none
Kristian Lippert - 04/02/2002
How to use an Edit control in ATL with WTL.

CPromptEdit
Rating:
Alessandro Rosa. - 02/21/2002
A prompted edit control.

Multi-Field Edit Controls
Rating:
George Chastain - 04/22/2001
A Whole New Class of Edit Controls

Hybrid Edit Control that Combines Prompt Text and Edit Control
Rating:
Tom Archer - MSFT - 05/17/2000
Great for dialogs/views where space is limited or prompt text would look out of place (e.g., invoices, purchase orders, etc.)

Auto-Fill Edit Control
Rating:
Massimo Colurcio - 01/25/2000
Auto-Fill Edit Control

Advanced ActiveX Edit Control
Rating:
Konstantin Bukreev - 12/28/1999
Advanced ActiveX Edit Control

CFloatEdit - edit control for currency numbers
Rating: none
Daniel Gabroveanu - 04/03/1999
CFloatEdit - edit control for currency numbers

HotEdit control that becomes 3D on "mouse over"
Rating:
Alan Kelly - 02/01/1999
HotEdit control that becomes 3D on "mouse over"

"Highlighted" EditBoxes For Over-Populated Input Dialog Sheets
Rating: none
Asaf Levy - 01/15/1999
"Highlighted" EditBoxes For Over-Populated Input Dialog Sheets

Pastable Numeric Edit Control
Rating: none
Corey Spagnoli - 01/15/1999
Pastable Numeric Edit Control

Numeric Edit Control
Rating: none
T. VU KHAC - 01/15/1999
Numeric Edit Control

CEditEx and CStaticEx - Classes that extend the functionality of the CEdit and CStatic
Rating: none
Bill Berry - 11/01/1998
CEditEx and CStaticEx - Classes that extend the functionality of the CEdit and CStatic

Masked Edit Control (3)
Rating:
Jeff Knight - 10/28/1998
Masked Edit Control (3)

SmartEdit control
Rating:
Rick York - 10/27/1998
SmartEdit control

Flat edit control
Rating: none
Jason Coene - 10/18/1998
Flat edit control

Hex edit control
Rating:
Andreas Saurwein - 08/25/1998
Hex edit control

A masked edit control (2)
Rating: none
Jeremy Davis - 08/17/1998
A masked edit control (2)

An IP address masked edit control
Rating: none
Joseph Dziedzic - 08/06/1998
An IP address masked edit control

Eating returns in a single line edit
Rating: none
Petr Novotny - 08/06/1998
Eating returns in a single line edit

Keyword coloring edit control
Rating: none
Keith Rule - 08/06/1998
Keyword coloring edit control

A range validation Edit control
Rating: none
Donald R. Kichline - 08/06/1998
A range validation Edit control

Syntax coloring text edit window class
Rating: none
Randy More - 08/06/1998
Syntax coloring text edit window class

A masked edit control
Rating: none
Sam Claret - 08/06/1998
A masked edit control

Drag files into CEdit
Rating: none
Chris Losinger - 08/06/1998
Drag files into CEdit

Inplace edit control
Rating:
Mario Contestabile - 08/06/1998
Inplace edit control

History Edit Control
Rating: none
Ravi Bhavnani - 08/06/1998
History Edit Control


Editors



[Updated] A Deterministic Method of Determining a Document's Modified State
Rating:
Jeffrey Walton - 11/29/2006
Determine when a document has been modified. In the particular case of word processors, most tend to have a "dirty" flag that is set when a user types. This article demonstrates a smarter "dirty" flag that uses probabilistic methods.

EditPad - Syntax Highlighting Editor
Rating: none
Ferdinand Prantl - 01/21/2000
EditPad - Syntax Highlighting Editor

Syntax coloring text editor
Rating: none
Andrei Stcherbatchenko - 03/23/1999
Syntax coloring text editor

Enhancements to Andrei Stcherbatchenko's Syntax coloring text editor
Rating: none
James R. Twine - 02/14/1999
Enhancements to Andrei Stcherbatchenko's Syntax coloring text editor


Keyboard



Allowing the TAB key in Edit Controls
Rating:
Hilmi Jauffer - 11/02/2000
Overrides PreTranslateMessage to replace default Edit Control behavior with more expected behavior of an editor


Masked Edit Controls



[Updated] SP Numeric Edit Control
Rating: none
Sergei VP - 11/02/2005
Learn about a masked numeric edit ActiveX control.

Customizable Masked Edit Control
Rating:
Marius Bancila - 05/12/2005
Learn about an edit control with a masked input that prohibits pasting text with disallowed characters.

[Updated] Implement a Console Window Using Edit Control
Rating:
Shallyee Shang - 05/27/2004
If you are writing a telnet-like application that needs a console window, try this simple solution.

[Updated] MFC Extension Class CProductKey
Rating:
Thomas Holte - 03/11/2004
Provides an easy way to enter IDs, PINs, product keys, or so. Also interesting for those who want to know how to embed a customized font into an application.

Masked CEdit Control
Rating:
Robert Dyer - 08/12/2003
A masked edit control allows per-character masking. Also, it can be put into passworded mode. There may also be read-only text inside of the box the user can not modify.

Creating a Numeric Edit Box
Rating: none
Pavol Bosik - 09/05/2002
[Update] Source code has been added for this article.

CVisValidEdit : Visual Validator
Rating: none
Stevie Mac - 03/14/2001
CVisValidEdit is an edit control with a difference - there is visual cues '& validation (both built in '& customisable).

Character-Based Masked Edit
Rating: none
Dan Hintz - 12/02/1999
A Masked Edit control that enables you to mask each character !!

Mixed Case Edit Control
Rating: none
Jeremy Davis - 12/10/1998
Mixed Case Edit Control

Simple Numeric Edit Control
Rating: none
Bob Place - 12/08/1998
Simple Numeric Edit Control


Passwords and Security



[Updated] Secure Random Password Generator
Rating:
Richard Strong - 06/23/2006
Generate a secure, random password of a desired length.

Secure Edit Control (MFC)
Rating: none
Dominik Reichl - 06/03/2003
Normally, you see stars (*) when you type something into an edit box that has the password flag. Unfortunately, these edit controls are not secure. By using secure edit controls, you can make your edit boxes resistant to password revealers.


Spin Controls



Numeric Edits, with Limits and Spinner
Rating: none
Kenneth Fleckenstein Nielsen - 05/23/2000
Several classes for dealing with floats

Numeric edit and numeric spin controls
Rating: none
T. VU KHAC - 02/02/1999
Numeric edit and numeric spin controls


Transparent



Creating a Transparent Editbox with No Redraw Problems
Rating:
Shailesh N. Kanzariya - 01/23/2003
Learn how to create a transparent edit box that works with a bitmap background.







internet.commediabistro.comJusttechjobs.comGraphics.com

WebMediaBrands Corporate Info

Legal Notices, Licensing, Reprints, Permissions, Privacy Policy.
Advertise | Newsletters | Shopping | E-mail Offers | Freelance Jobs