Click here to Skip to main content
15,887,434 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOptimizing memory usage Pin
IGx8930-Dec-01 11:53
IGx8930-Dec-01 11:53 
GeneralRe: Optimizing memory usage Pin
Konstantin Vasserman30-Dec-01 15:44
Konstantin Vasserman30-Dec-01 15:44 
GeneralRe: Optimizing memory usage Pin
IGx8930-Dec-01 15:58
IGx8930-Dec-01 15:58 
GeneralRe: Optimizing memory usage Pin
Konstantin Vasserman30-Dec-01 16:15
Konstantin Vasserman30-Dec-01 16:15 
Questionhow'd they do that? Pin
hforbess30-Dec-01 11:28
hforbess30-Dec-01 11:28 
AnswerRe: how'd they do that? Pin
Michael P Butler31-Dec-01 1:59
Michael P Butler31-Dec-01 1:59 
Generalfor example Pin
hforbess31-Dec-01 13:53
hforbess31-Dec-01 13:53 
GeneralSyntax colouring Pin
Jon Newman30-Dec-01 8:42
Jon Newman30-Dec-01 8:42 
Is there a simple way (preferably in the form of a tutorial or sample) to use the RichEdit view (MFC) to colour syntax dynamically. Say the language the user would type into the program was HTML and i wanted things like :
<HTML>, <HEAD>, <BODY> and so on in blue. Then scripts in red etc...
the syntax would need to be updated so that if i entered a new <SCRIPT> tag as soon as i typed the ending '>' it would turn red. Is there a way of using an array so that i place all the blue words in one array and all red ones in another.
Also is there a way of making text that is between two sets of quotation marks in one colour etc...

Please advise me on this i'm still a bit of a beginner to C++ Smile | :)
Thanx

.NET or not .NET? MFC is the question......
(P.S. .NET Server is the biz, when u poor folks get it next year u'll realise Wink | ;) )
GeneralRe: Syntax colouring Pin
Shog930-Dec-01 8:46
sitebuilderShog930-Dec-01 8:46 
GeneralRe: Syntax colouring Pin
Jon Newman30-Dec-01 8:53
Jon Newman30-Dec-01 8:53 
GeneralRe: Syntax colouring Pin
Chris Losinger30-Dec-01 8:57
professionalChris Losinger30-Dec-01 8:57 
GeneralRe: Syntax colouring Pin
Jon Newman30-Dec-01 9:04
Jon Newman30-Dec-01 9:04 
GeneralRe: Syntax colouring Pin
Chris Losinger30-Dec-01 9:09
professionalChris Losinger30-Dec-01 9:09 
QuestionSet Cursor EOL in CEdit box? Pin
Robert Palma Jr.30-Dec-01 8:02
Robert Palma Jr.30-Dec-01 8:02 
AnswerRe: Set Cursor EOL in CEdit box? Pin
567890123430-Dec-01 21:27
567890123430-Dec-01 21:27 
GeneralRe: Set Cursor EOL in CEdit box? Pin
Robert Palma Jr.31-Dec-01 11:13
Robert Palma Jr.31-Dec-01 11:13 
GeneralRe: Set Cursor EOL in CEdit box? Pin
567890123431-Dec-01 19:50
567890123431-Dec-01 19:50 
GeneralRe: Set Cursor EOL in CEdit box? Pin
Robert Palma Jr.2-Jan-02 8:31
Robert Palma Jr.2-Jan-02 8:31 
GeneralRe: Set Cursor EOL in CEdit box? Pin
56789012342-Jan-02 19:29
56789012342-Jan-02 19:29 
GeneralRe: Set Cursor EOL in CEdit box? Pin
Robert Palma Jr.4-Jan-02 11:34
Robert Palma Jr.4-Jan-02 11:34 
GeneralRe: Set Cursor EOL in CEdit box? Pin
Fredrik Skog1-Jan-02 22:15
Fredrik Skog1-Jan-02 22:15 
GeneralRe: Set Cursor EOL in CEdit box? Pin
Robert Palma Jr.2-Jan-02 8:34
Robert Palma Jr.2-Jan-02 8:34 
GeneralPC CLOCK Pin
meirav30-Dec-01 7:41
meirav30-Dec-01 7:41 
GeneralRe: PC CLOCK Pin
Matt Newman30-Dec-01 8:20
Matt Newman30-Dec-01 8:20 
GeneralDetecting MDAC Version in Code Pin
John Clump30-Dec-01 6:50
John Clump30-Dec-01 6:50 

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.