Click here to Skip to main content
15,921,941 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Filling Dialog Box from .txt file Pin
Iain Clarke, Warrior Programmer30-Aug-07 12:26
Iain Clarke, Warrior Programmer30-Aug-07 12:26 
AnswerRe: Filling Dialog Box from .txt file Pin
Mark Salsbery30-Aug-07 12:56
Mark Salsbery30-Aug-07 12:56 
Questionclistcrtl OnUpdate() [modified] Pin
shiftwik30-Aug-07 10:31
shiftwik30-Aug-07 10:31 
AnswerRe: clistcrtl OnUpdate() Pin
David Crow30-Aug-07 10:38
David Crow30-Aug-07 10:38 
QuestionRe: clistcrtl OnUpdate() Pin
David Crow31-Aug-07 3:08
David Crow31-Aug-07 3:08 
Questionfailed to identify calling batch script Pin
Jack Rong30-Aug-07 9:22
Jack Rong30-Aug-07 9:22 
QuestionAssigning port number to TDI server code Pin
barun_iit30-Aug-07 8:50
barun_iit30-Aug-07 8:50 
QuestionMFC Displaying Text Pin
barbarini30-Aug-07 6:15
barbarini30-Aug-07 6:15 
Hi guys. I hope someone can help beacuse I am new at MFC and I am running out of time.
I need to write a MFC program which will simply read some text file and display it. The other thing is that I need to add a search option to the program. When you search some word, and if it is found in the displayed text it should be displayed in different color.
I have been fighting with this for a week and still no success. Can someone at least tell me how to start on the right track, wich base class should i use, how should I display the text, and finally, how to color the words that have been found?????

Any links or code samples would really help.......

thanx
AnswerRe: MFC Displaying Text Pin
hxhl9530-Aug-07 6:22
hxhl9530-Aug-07 6:22 
GeneralRe: MFC Displaying Text Pin
barbarini30-Aug-07 6:25
barbarini30-Aug-07 6:25 
QuestionRe: MFC Displaying Text Pin
hxhl9530-Aug-07 6:28
hxhl9530-Aug-07 6:28 
GeneralRe: MFC Displaying Text Pin
Dennis Gourjii30-Aug-07 6:29
Dennis Gourjii30-Aug-07 6:29 
GeneralRe: MFC Displaying Text Pin
barbarini30-Aug-07 6:42
barbarini30-Aug-07 6:42 
GeneralRe: MFC Displaying Text Pin
Dennis Gourjii1-Sep-07 22:58
Dennis Gourjii1-Sep-07 22:58 
AnswerRe: MFC Displaying Text Pin
Mark Salsbery30-Aug-07 6:42
Mark Salsbery30-Aug-07 6:42 
GeneralRe: MFC Displaying Text Pin
barbarini30-Aug-07 6:48
barbarini30-Aug-07 6:48 
GeneralRe: MFC Displaying Text Pin
Mark Salsbery30-Aug-07 6:56
Mark Salsbery30-Aug-07 6:56 
GeneralRe: MFC Displaying Text Pin
barbarini30-Aug-07 8:42
barbarini30-Aug-07 8:42 
GeneralRe: MFC Displaying Text Pin
bob1697230-Aug-07 15:29
bob1697230-Aug-07 15:29 
GeneralRe: MFC Displaying Text Pin
Mark Salsbery30-Aug-07 20:33
Mark Salsbery30-Aug-07 20:33 
AnswerRe: MFC Displaying Text Pin
Vaclav_31-Aug-07 5:17
Vaclav_31-Aug-07 5:17 
QuestionSchell Pin
ellllllllie30-Aug-07 6:09
ellllllllie30-Aug-07 6:09 
AnswerRe: Schell Pin
led mike30-Aug-07 7:57
led mike30-Aug-07 7:57 
AnswerRe: Schell Pin
Russell'30-Aug-07 8:08
Russell'30-Aug-07 8:08 
GeneralRe: Schell Pin
Perspx30-Aug-07 9:25
Perspx30-Aug-07 9:25 

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.