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

C / C++ / MFC

 
AnswerRe: Some tips for my first real application in VC++ ?? Pin
Toni784-Jul-03 11:53
Toni784-Jul-03 11:53 
GeneralRe: Some tips for my first real application in VC++ ?? Pin
conac8-Jul-03 1:09
conac8-Jul-03 1:09 
QuestionWH_CALLWNDPROC global hook not receiving messages? Pin
S O S4-Jul-03 9:57
S O S4-Jul-03 9:57 
QuestionMulti colored text in CEdit box? Pin
Sorcia4-Jul-03 9:10
Sorcia4-Jul-03 9:10 
AnswerRe: Multi colored text in CEdit box? Pin
Maximilien4-Jul-03 9:20
Maximilien4-Jul-03 9:20 
GeneralRe: Multi colored text in CEdit box? Pin
adamUK4-Jul-03 9:25
adamUK4-Jul-03 9:25 
GeneralRe: Multi colored text in CEdit box? Pin
Maximilien4-Jul-03 9:47
Maximilien4-Jul-03 9:47 
AnswerRe: Multi colored text in CEdit box? Pin
adamUK4-Jul-03 9:24
adamUK4-Jul-03 9:24 
Instead of a CEdit, use a CRichEditCtrl. Use SetSel to select the characters you want to change and then SetSelectionCharFormat( CHARFORMAT& cf ) to change the formatting of the text you want. By setting the crTextColor attribute of the CHARFORMAT structure, you can change the colour to whatever you want. Check out CRichEditCtrl in MSDN.

hope this helps

Adam.

My world tour
What I do now..

"I spent a lot of my money on booze, birds and fast cars. The rest I just squandered"
George Best.

"I suppose if it was a choice between bon jovi and the interior of a car, the car would win, even it didnt have a radio and I had to sit in silence" James Simpson on Light Metal.
GeneralRe: Multi colored text in CEdit box? Pin
Sorcia4-Jul-03 10:58
Sorcia4-Jul-03 10:58 
Generalvc++ programming Pin
Member 3451564-Jul-03 8:40
Member 3451564-Jul-03 8:40 
QuestionHow to make a taller statusbar? Pin
clintsinger4-Jul-03 8:30
clintsinger4-Jul-03 8:30 
GeneralCSplitter and changing views. Pin
adamUK4-Jul-03 7:42
adamUK4-Jul-03 7:42 
GeneralRe: CSplitter and changing views. Pin
Ryan Binns4-Jul-03 15:33
Ryan Binns4-Jul-03 15:33 
GeneralRe: CSplitter and changing views. Pin
adamUK4-Jul-03 23:09
adamUK4-Jul-03 23:09 
QuestionWhere did my classes go? Pin
DaveE9th4-Jul-03 6:45
DaveE9th4-Jul-03 6:45 
AnswerRe: Where did my classes go? Pin
David Crow4-Jul-03 13:43
David Crow4-Jul-03 13:43 
GeneralRe: Where did my classes go? Pin
DaveE9th4-Jul-03 20:31
DaveE9th4-Jul-03 20:31 
GeneralRe: Where did my classes go? Pin
David Crow7-Jul-03 3:21
David Crow7-Jul-03 3:21 
GeneralUpdown control in a dialog box. Pin
blackmesa4-Jul-03 6:00
blackmesa4-Jul-03 6:00 
GeneralRe: Updown control in a dialog box. Pin
Michael Dunn4-Jul-03 6:35
sitebuilderMichael Dunn4-Jul-03 6:35 
GeneralRe: Updown control in a dialog box. Pin
blackmesa4-Jul-03 13:04
blackmesa4-Jul-03 13:04 
GeneralEdit control in DialogBar Pin
grotesque4-Jul-03 5:53
grotesque4-Jul-03 5:53 
GeneralRe: Edit control in DialogBar Pin
Ryan Binns4-Jul-03 6:03
Ryan Binns4-Jul-03 6:03 
GeneralRe: Edit control in DialogBar Pin
SandeepN30-Sep-03 5:54
SandeepN30-Sep-03 5:54 
Generalprinting in landscape mode Pin
si_694-Jul-03 5:37
si_694-Jul-03 5:37 

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.