Click here to Skip to main content
15,914,222 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Function signature Pin
Anders Molin2-Mar-03 14:50
professionalAnders Molin2-Mar-03 14:50 
GeneralRe: Function signature Pin
Taka Muraoka2-Mar-03 15:29
Taka Muraoka2-Mar-03 15:29 
GeneralRe: Function signature Pin
Gerald Schwab2-Mar-03 15:42
Gerald Schwab2-Mar-03 15:42 
GeneralCreating a Text editor Pin
orcblood2-Mar-03 11:40
orcblood2-Mar-03 11:40 
GeneralRe: Creating a Text editor Pin
Jaran Nilsen2-Mar-03 12:33
Jaran Nilsen2-Mar-03 12:33 
GeneralRe: Creating a Text editor Pin
orcblood2-Mar-03 12:58
orcblood2-Mar-03 12:58 
GeneralRe: Creating a Text editor Pin
Jaran Nilsen2-Mar-03 13:03
Jaran Nilsen2-Mar-03 13:03 
GeneralRe: Creating a Text editor Pin
Jaran Nilsen2-Mar-03 13:12
Jaran Nilsen2-Mar-03 13:12 
Ahhh, ok, I am unable to go to bed before this is solved:P Well, here's the code. Three lines that's all that's needed:

CEdit m_editEditor;

m_editEditor.Create(ES_AUTOHSCROLL | ES_LEFT,CRect(50,50,150,70),this,NULL);

m_editEditor.ShowWindow(SW_NORMAL);

Voilà!

This creates the most basic single line control. You can change the CRect parameters to change the size, and you change the ES_ values to change the look and behaviour of the control. The last parameter is the controls ID, which I could not be bothered to make. but it's simply a
#define IDC_EDIT_MYEDIT 100
statement to create that..

Well, hope this sorted things out. NOW i have to sleep;)

Good luck with your programming.

-Jaran
GeneralRe: Creating a Text editor Pin
orcblood2-Mar-03 13:44
orcblood2-Mar-03 13:44 
GeneralRe: Creating a Text editor Pin
Jaran Nilsen3-Mar-03 4:30
Jaran Nilsen3-Mar-03 4:30 
GeneralRe: Creating a Text editor Pin
Nish Nishant2-Mar-03 12:59
sitebuilderNish Nishant2-Mar-03 12:59 
GeneralRe: Creating a Text editor Pin
orcblood3-Mar-03 9:52
orcblood3-Mar-03 9:52 
QuestionWhere to get info about AppBar? Pin
Artem Moroz2-Mar-03 11:37
Artem Moroz2-Mar-03 11:37 
GeneralPrinting HTML docs and ShellExcute Pin
(Steven Hicks)n+12-Mar-03 10:27
(Steven Hicks)n+12-Mar-03 10:27 
GeneralRe: Printing HTML docs and ShellExcute Pin
Jörgen Sigvardsson2-Mar-03 13:16
Jörgen Sigvardsson2-Mar-03 13:16 
GeneralRe: Printing HTML docs and ShellExcute Pin
(Steven Hicks)n+12-Mar-03 14:07
(Steven Hicks)n+12-Mar-03 14:07 
GeneralGetting content of a folder Pin
Jaran Nilsen2-Mar-03 10:00
Jaran Nilsen2-Mar-03 10:00 
GeneralRe: Getting content of a folder Pin
Chris Losinger2-Mar-03 10:03
professionalChris Losinger2-Mar-03 10:03 
GeneralRe: Getting content of a folder Pin
Jaran Nilsen2-Mar-03 10:30
Jaran Nilsen2-Mar-03 10:30 
GeneralRe: Getting content of a folder Pin
Chris Losinger2-Mar-03 10:33
professionalChris Losinger2-Mar-03 10:33 
GeneralRe: Getting content of a folder Pin
Jaran Nilsen2-Mar-03 10:43
Jaran Nilsen2-Mar-03 10:43 
GeneralRe: Getting content of a folder Pin
Chris Losinger2-Mar-03 10:53
professionalChris Losinger2-Mar-03 10:53 
GeneralRe: Getting content of a folder Pin
Jaran Nilsen2-Mar-03 10:58
Jaran Nilsen2-Mar-03 10:58 
GeneralRe: Getting content of a folder Pin
Chintan2-Mar-03 18:25
Chintan2-Mar-03 18:25 
GeneralRe: Getting content of a folder Pin
Jaran Nilsen3-Mar-03 8:47
Jaran Nilsen3-Mar-03 8:47 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.