Click here to Skip to main content
15,917,610 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: How do I initialize the IActiveDesktop function Pin
Christian Graus29-Aug-05 17:16
protectorChristian Graus29-Aug-05 17:16 
GeneralRe: How do I initialize the IActiveDesktop function Pin
Jörgen Sigvardsson29-Aug-05 20:06
Jörgen Sigvardsson29-Aug-05 20:06 
GeneralRe: How do I use the IActiveDesktop interface Pin
ThatsAlok29-Aug-05 20:18
ThatsAlok29-Aug-05 20:18 
QuestionPlease use the /MD switch for _AFXDLL builds Pin
Christian Graus29-Aug-05 14:07
protectorChristian Graus29-Aug-05 14:07 
AnswerRe: Please use the /MD switch for _AFXDLL builds Pin
Tim Smith29-Aug-05 14:27
Tim Smith29-Aug-05 14:27 
GeneralRe: Please use the /MD switch for _AFXDLL builds Pin
Christian Graus29-Aug-05 14:33
protectorChristian Graus29-Aug-05 14:33 
GeneralRe: Please use the /MD switch for _AFXDLL builds Pin
Christian Graus29-Aug-05 16:49
protectorChristian Graus29-Aug-05 16:49 
QuestionColorizing source code Pin
alex.barylski29-Aug-05 13:45
alex.barylski29-Aug-05 13:45 
Can someone explain to me the basics of source code colorizing?

I want to add source colorizing to a CEdit control, but I only have a rought idea as to where to get started.

Can you explain the steps for colorizing C++ code for just:

1) Strings
2) Comments
3) Numbers
4) Keywords

If you don't wish to explain, but instead know of an article which explains the state machine/engine responsible for colorizing a source document I'd like to hear about it.

I AM NOT however asking to be referred to any of the CP articles such as CrystalEdit which serves as a good example as to how a colorizing engine might work.

I would like a more detailed explanation than just reading someone source code and learning from that.

I should also note, that I am not planning on using any parsing framework like Spirit, etc...

I want to code the colorizer by hand Smile | :) Just becuz Smile | :)

Cheers Smile | :)

It's frustrating being a genius and living the life of a moron!!!

-- modified at 19:47 Monday 29th August, 2005
AnswerRe: Colorizing source code Pin
Christian Graus29-Aug-05 14:06
protectorChristian Graus29-Aug-05 14:06 
GeneralRe: Colorizing source code Pin
alex.barylski29-Aug-05 14:17
alex.barylski29-Aug-05 14:17 
GeneralRe: Colorizing source code Pin
Christian Graus29-Aug-05 14:30
protectorChristian Graus29-Aug-05 14:30 
QuestionCustom Controls within a CPropertyPage Pin
Mark Cariddi29-Aug-05 11:12
Mark Cariddi29-Aug-05 11:12 
AnswerRe: Custom Controls within a CPropertyPage Pin
Mark Cariddi29-Aug-05 11:14
Mark Cariddi29-Aug-05 11:14 
QuestionHow MessageBox() kills active context menu Pin
casid29-Aug-05 10:46
casid29-Aug-05 10:46 
AnswerRe: How MessageBox() kills active context menu Pin
Michael Dunn29-Aug-05 10:59
sitebuilderMichael Dunn29-Aug-05 10:59 
GeneralRe: How MessageBox() kills active context menu Pin
casid30-Aug-05 6:30
casid30-Aug-05 6:30 
QuestionSerial Ports in use : get PID Pin
souren7729-Aug-05 9:32
souren7729-Aug-05 9:32 
QuestionHow can I get WM_KEYDOWN message in the CWnd-derived class? Pin
Eugene Pustovoyt29-Aug-05 9:06
Eugene Pustovoyt29-Aug-05 9:06 
AnswerRe: How can I get WM_KEYDOWN message in the CWnd-derived class? Pin
Christian Graus29-Aug-05 13:37
protectorChristian Graus29-Aug-05 13:37 
GeneralRe: How can I get WM_KEYDOWN message in the CWnd-derived class? Pin
Eugene Pustovoyt29-Aug-05 17:54
Eugene Pustovoyt29-Aug-05 17:54 
GeneralRe: How can I get WM_KEYDOWN message in the CWnd-derived class? Pin
Christian Graus29-Aug-05 17:57
protectorChristian Graus29-Aug-05 17:57 
GeneralRe: How can I get WM_KEYDOWN message in the CWnd-derived class? Pin
Eugene Pustovoyt29-Aug-05 18:21
Eugene Pustovoyt29-Aug-05 18:21 
GeneralRe: How can I get WM_KEYDOWN message in the CWnd-derived class? Pin
Christian Graus29-Aug-05 18:23
protectorChristian Graus29-Aug-05 18:23 
GeneralRe: How can I get WM_KEYDOWN message in the CWnd-derived class? Pin
Eugene Pustovoyt29-Aug-05 18:29
Eugene Pustovoyt29-Aug-05 18:29 
GeneralRe: How can I get WM_KEYDOWN message in the CWnd-derived class? Pin
Christian Graus29-Aug-05 18:31
protectorChristian Graus29-Aug-05 18:31 

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.