Click here to Skip to main content
15,892,480 members
Articles / Desktop Programming / MFC

Improved CEdit control

Rate me:
Please Sign up or sign in to vote.
4.86/5 (30 votes)
7 Dec 2014Zlib7 min read 60.2K   4.2K   63  
CEdit derived control with additional editing options and multilevel undo/redo.
//{{NO_DEPENDENCIES}}
// Microsoft Visual C++ generated include file.
// Used by EditExApp.rc
//
#define IDM_ABOUTBOX                    0x0010
#define IDS_ABOUTBOX                    101
#define IDD_EDITEXAPP_DIALOG            102
#define IDR_MAINFRAME                   128
#define IDC_EDITEX_SINGLELINE           1000
#define IDC_EDITEX_MULTILINE            1001
#define IDC_EDIT_SINGLELINE             1002
#define IDC_EDIT_MULTILINE              1003
#define IDC_BUTTON_INSERT_SINGLELINE    1004
#define IDC_EDIT_MULTILINE2             1005
#define IDC_BUTTON_INSERT_SINGLELINE2   1005
#define IDC_BUTTON_INSERT_MULTILINE     1005

// Next default values for new objects
// 
#ifdef APSTUDIO_INVOKED
#ifndef APSTUDIO_READONLY_SYMBOLS
#define _APS_NEXT_RESOURCE_VALUE        129
#define _APS_NEXT_COMMAND_VALUE         32771
#define _APS_NEXT_CONTROL_VALUE         1005
#define _APS_NEXT_SYMED_VALUE           101
#endif
#endif

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under The zlib/libpng License


Written By
Software Developer (Senior)
Croatia Croatia
Graduated at the Faculty of Electrical Engineering and Computing, University of Zagreb (Croatia) and received M.Sc. degree in electronics. For several years he was research and lecturing assistant in the fields of solid state electronics and electronic circuits, published several scientific and professional papers, as well as a book "Physics of Semiconductor Devices - Solved Problems with Theory" (in Croatian).
During that work he gained interest in C++ programming language and have co-written "C++ Demystified" (in Croatian), 1st edition published in 1997, 2nd in 2001, 3rd in 2010, 4th in 2014.
After book publication, completely switched to software development, programming mostly in C++ and in C#.
In 2016 coauthored the book "Python for Curious" (in Croatian).

Comments and Discussions