Click here to Skip to main content
15,918,404 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralComboBox in Modal DIalog Pin
Karen030221-Aug-03 4:40
Karen030221-Aug-03 4:40 
GeneralRe: ComboBox in Modal DIalog Pin
valikac21-Aug-03 5:12
valikac21-Aug-03 5:12 
Generalautomate excel copy and paste Pin
Anonymous21-Aug-03 4:40
Anonymous21-Aug-03 4:40 
GeneralRe: automate excel copy and paste Pin
David Crow21-Aug-03 7:13
David Crow21-Aug-03 7:13 
GeneralRe: automate excel copy and paste Pin
Jason Truong25-Aug-03 3:36
Jason Truong25-Aug-03 3:36 
QuestionVery strange bug - conflict between file IO and list?? Pin
Kuniva21-Aug-03 4:38
Kuniva21-Aug-03 4:38 
QuestionWhy toolbar created by CreateExdo not creates tool-tips? Pin
vgrigor21-Aug-03 4:36
vgrigor21-Aug-03 4:36 
GeneralRich Edit box (no MFC) Pin
Kayembi21-Aug-03 4:25
Kayembi21-Aug-03 4:25 
Hi,

Sorry for the very basic question - I am a beginner so please excuse me:

Could someone please tell me where I can find info on using a rich edit box in a dialog-based application without using any MFC? I mistakenly thought that it would be as simple as using any other control, but it seems not. All I want to do is have a white box with a lot of text in it and a scrollbar to scroll through it (user can't input anything). I guess a rich edit box is what I need. But I tried to add a rich edit box to my dialog and then set its text using SetDlgItemText, and if I compile and run, the dialog just exits without showing _anything_, as though the program hasn't run at all. It seems this has nothing to do with my code (well, it probably has something to do with what I'm _not_ doing in my code), as even if I took any code out relating to the rich edit box, so long as it was in my dialog, if I run, it exits as though nothing has happened. I read on MSDN that you need to call AfxInitRichEdit(), but when I tried this I just got an "undeclared identifier" message, so I guess this is just for MFC...

Any pointers would be really appreciated. Sorry again if this is a dumb question.

Many thanks,
KB
GeneralRe: Rich Edit box (no MFC) Pin
Ryan Binns21-Aug-03 4:55
Ryan Binns21-Aug-03 4:55 
GeneralRe: Rich Edit box (no MFC) Pin
Kayembi21-Aug-03 7:14
Kayembi21-Aug-03 7:14 
GeneralRe: Rich Edit box (no MFC) Pin
Ryan Binns21-Aug-03 16:48
Ryan Binns21-Aug-03 16:48 
GeneralWH_MSGFILTER Windows Hook Pin
Member 43620221-Aug-03 4:12
Member 43620221-Aug-03 4:12 
Generalmapping enum -> name Pin
peterchen21-Aug-03 3:59
peterchen21-Aug-03 3:59 
GeneralRe: mapping enum -> name Pin
valikac21-Aug-03 5:15
valikac21-Aug-03 5:15 
GeneralRe: mapping enum -> name Pin
peterchen21-Aug-03 5:33
peterchen21-Aug-03 5:33 
GeneralRe: mapping enum -> name Pin
Jörgen Sigvardsson21-Aug-03 7:35
Jörgen Sigvardsson21-Aug-03 7:35 
GeneralCreating Device Context Pin
Larry J. Siddens21-Aug-03 3:29
Larry J. Siddens21-Aug-03 3:29 
GeneralRe: Creating Device Context Pin
PJ Arends21-Aug-03 9:16
professionalPJ Arends21-Aug-03 9:16 
QuestionTAPI. Is it possible? Pin
Ahmad9921-Aug-03 3:28
Ahmad9921-Aug-03 3:28 
AnswerRe: TAPI. Is it possible? Pin
Joey Bloggs21-Aug-03 21:35
Joey Bloggs21-Aug-03 21:35 
GeneralTAPI. Is it possible Pin
Ahmad9921-Aug-03 3:27
Ahmad9921-Aug-03 3:27 
GeneralRe: TAPI. Is it possible Pin
David Crow21-Aug-03 4:17
David Crow21-Aug-03 4:17 
QuestionHow to develop Search Engine like google. Pin
Ahmad9921-Aug-03 3:15
Ahmad9921-Aug-03 3:15 
AnswerRe: How to develop Search Engine like google. Pin
David Crow21-Aug-03 4:34
David Crow21-Aug-03 4:34 
GeneralListBox derived class Problem Pin
matrix66621-Aug-03 3:12
matrix66621-Aug-03 3:12 

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.