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

C / C++ / MFC

 
AnswerRe: How to get Text Width and Height? Pin
Chris Losinger2-Mar-03 13:39
professionalChris Losinger2-Mar-03 13:39 
GeneralRe: How to get Text Width and Height? Pin
Aidman3-Mar-03 1:05
Aidman3-Mar-03 1:05 
GeneralFunction signature Pin
Gerald Schwab2-Mar-03 13:25
Gerald Schwab2-Mar-03 13:25 
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 
Well, the first thing would be: Are you using the visual tools in VisualStuio to create your application, or are you coding everything from scratch?

If you use the visual tool, it's simple drag&drop to create it, and then you assign a member variable for it.

If you create it from scratch it's a bit more work, but should not be too much.

I do not have the code at hand now, but it should be something like this:

CEdit editMyTextEditor;
editMyTextEditor.Create(...); //replace "..." with parameters
editMyTextEditor.MoveWindow(RECT); //Place the control within your window.
editMyTextEditor.ShowWindow();

As I said I am not sure if this is the correct sequence to create the control and showing it, but hopefully you can get something out of it. I will dig out some code for you tomorrow if you have not yet found something, but right now I am going to bed!Smile | :)

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 
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 

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.