Click here to Skip to main content
15,867,849 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: A beginner question about winforms in VC++ Pin
Pedram Behroozi16-Nov-08 7:42
Pedram Behroozi16-Nov-08 7:42 
AnswerRe: A beginner question about winforms in VC++ Pin
Jijo.Raj16-Nov-08 7:07
Jijo.Raj16-Nov-08 7:07 
GeneralRe: A beginner question about winforms in VC++ Pin
Pedram Behroozi16-Nov-08 7:47
Pedram Behroozi16-Nov-08 7:47 
GeneralRe: A beginner question about winforms in VC++ Pin
Jijo.Raj16-Nov-08 8:13
Jijo.Raj16-Nov-08 8:13 
GeneralRe: A beginner question about winforms in VC++ Pin
N a v a n e e t h16-Nov-08 16:53
N a v a n e e t h16-Nov-08 16:53 
GeneralRe: A beginner question about winforms in VC++ Pin
Pedram Behroozi16-Nov-08 22:02
Pedram Behroozi16-Nov-08 22:02 
QuestionCEdit Control Pin
john563215-Nov-08 21:04
john563215-Nov-08 21:04 
AnswerRe: CEdit Control Pin
Garth J Lancaster15-Nov-08 22:47
professionalGarth J Lancaster15-Nov-08 22:47 
I'm a bit rusty on this, but here goes

1) assign a member variable of type CString to the Edit Control. eg m_MyEdit .. you can then go CString someText = m_MyEdit .. you'd then need to parse this string in someText to find your word - maybe parse by spaces and or keywords

2) dont think you can do this 'simply' - I know you can change the font color and or background for the whole control, but not for a single words as part of a string - you may need an owner draw control using a 'light' rtf syntax or even better do it using a html type display - there are examples of each here on CP

'g'
QuestionRe: CEdit Control Pin
CPallini15-Nov-08 23:01
mveCPallini15-Nov-08 23:01 
AnswerRe: CEdit Control Pin
Garth J Lancaster15-Nov-08 23:15
professionalGarth J Lancaster15-Nov-08 23:15 
GeneralRe: CEdit Control Pin
CPallini15-Nov-08 23:52
mveCPallini15-Nov-08 23:52 
GeneralRe: CEdit Control Pin
Garth J Lancaster16-Nov-08 10:06
professionalGarth J Lancaster16-Nov-08 10:06 
GeneralRe: CEdit Control Pin
CPallini16-Nov-08 21:22
mveCPallini16-Nov-08 21:22 
GeneralRe: CEdit Control Pin
Garth J Lancaster16-Nov-08 22:49
professionalGarth J Lancaster16-Nov-08 22:49 
AnswerRe: CEdit Control Pin
john563215-Nov-08 23:36
john563215-Nov-08 23:36 
AnswerRe: CEdit Control Pin
dupenf116-Nov-08 21:28
dupenf116-Nov-08 21:28 
QuestionLogon failure with Win32 Service Pin
Member 569752115-Nov-08 10:09
Member 569752115-Nov-08 10:09 
AnswerRe: Logon failure with Win32 Service Pin
Graham Bradshaw15-Nov-08 11:29
Graham Bradshaw15-Nov-08 11:29 
GeneralRe: Logon failure with Win32 Service Pin
Member 569752116-Nov-08 7:48
Member 569752116-Nov-08 7:48 
GeneralRe: Logon failure with Win32 Service Pin
Graham Bradshaw16-Nov-08 8:04
Graham Bradshaw16-Nov-08 8:04 
QuestionHook printer jobs Pin
Green Fuze15-Nov-08 9:05
Green Fuze15-Nov-08 9:05 
AnswerRe: Hook printer jobs Pin
Garth J Lancaster15-Nov-08 22:51
professionalGarth J Lancaster15-Nov-08 22:51 
QuestionCRichEditCtrl - problem with SetTargetDevice and TO_ADVANCEDTYPOGRAPHY Pin
szczepi15-Nov-08 8:57
szczepi15-Nov-08 8:57 
QuestionReferencing lib file Pin
Christian Flutcher15-Nov-08 7:25
Christian Flutcher15-Nov-08 7:25 
AnswerRe: Referencing lib file Pin
Mark Salsbery15-Nov-08 7:30
Mark Salsbery15-Nov-08 7:30 

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.