Click here to Skip to main content
15,911,890 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Custom control derived from CDialog Pin
Cedric Moonen10-May-06 1:12
Cedric Moonen10-May-06 1:12 
QuestionRich Editor Pin
tctan10-May-06 0:35
tctan10-May-06 0:35 
AnswerRe: Rich Editor Pin
kakan10-May-06 0:46
professionalkakan10-May-06 0:46 
GeneralRe: Rich Editor Pin
tctan10-May-06 4:01
tctan10-May-06 4:01 
GeneralRe: Rich Editor Pin
kakan11-May-06 20:17
professionalkakan11-May-06 20:17 
AnswerRe: Rich Editor Pin
Dan McCormick10-May-06 12:14
Dan McCormick10-May-06 12:14 
GeneralRe: Rich Editor Pin
tctan10-May-06 17:14
tctan10-May-06 17:14 
QuestionRich edit view speed Pin
Andrew Hain10-May-06 0:35
Andrew Hain10-May-06 0:35 
I have an application with several rich edit views, and one of them is used as a running log. When two or more additional rich edit views are opened, the log slows right down; the slowdown happens in the view rather than in the code generating the log.

All of the rich edit views in the application use SetSelectionCharFormat() to set character formatting; if I comment out the calls in the log, which are to colour text and underline links, it runs at full speed.

Should I:

  1. Optimise the calls to SetSelectionCharFormat() to remove calls that repeat the existing format or where no text is output using them?
  2. Use RTF streaming instead of SetSelectionCharFormat?
  3. Buffer the log instead of displaying it continuously?
  4. Abandon rich edit views for another technique altogether?

QuestionPrevent Treeview from blinking when updating Pin
vivelesours10-May-06 0:14
vivelesours10-May-06 0:14 
AnswerRe: Prevent Treeview from blinking when updating Pin
Nibu babu thomas10-May-06 0:18
Nibu babu thomas10-May-06 0:18 
GeneralRe: Prevent Treeview from blinking when updating Pin
vivelesours10-May-06 0:21
vivelesours10-May-06 0:21 
GeneralRe: Prevent Treeview from blinking when updating Pin
Andrew Hain10-May-06 0:48
Andrew Hain10-May-06 0:48 
GeneralRe: Prevent Treeview from blinking when updating Pin
vivelesours10-May-06 0:55
vivelesours10-May-06 0:55 
GeneralRe: Prevent Treeview from blinking when updating Pin
kakan10-May-06 1:15
professionalkakan10-May-06 1:15 
GeneralRe: Prevent Treeview from blinking when updating Pin
vivelesours10-May-06 2:09
vivelesours10-May-06 2:09 
GeneralRe: Prevent Treeview from blinking when updating Pin
Andrew Hain10-May-06 1:43
Andrew Hain10-May-06 1:43 
GeneralRe: Prevent Treeview from blinking when updating Pin
vivelesours10-May-06 2:22
vivelesours10-May-06 2:22 
GeneralRe: Prevent Treeview from blinking when updating Pin
Member 39402069-Jul-09 1:16
Member 39402069-Jul-09 1:16 
Questionquestion. Pin
mush hashor10-May-06 0:02
mush hashor10-May-06 0:02 
AnswerRe: question. Pin
Cedric Moonen10-May-06 0:13
Cedric Moonen10-May-06 0:13 
Questionsocket question: receive part of what is sent Pin
followait9-May-06 23:36
followait9-May-06 23:36 
Questionsocket question: receive part of what is send Pin
followait9-May-06 23:35
followait9-May-06 23:35 
AnswerRe: socket question: receive part of what is send Pin
Scorpio10-May-06 2:01
Scorpio10-May-06 2:01 
Questionwindows task manager Pin
ash_cool9-May-06 23:16
ash_cool9-May-06 23:16 
GeneralNo Subject Pin
Maxwell Chen9-May-06 23:49
Maxwell Chen9-May-06 23:49 

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.