Click here to Skip to main content
16,005,038 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Inno Setup opinion? Pin
Ravi Bhavnani3-Sep-02 9:20
professionalRavi Bhavnani3-Sep-02 9:20 
GeneralScrollWindowEx Pin
Chris Klecker2-Sep-02 15:42
Chris Klecker2-Sep-02 15:42 
GeneralRe: ScrollWindowEx Pin
Tomasz Sowinski2-Sep-02 23:13
Tomasz Sowinski2-Sep-02 23:13 
GeneralInternationalization Pin
Le centriste2-Sep-02 13:35
Le centriste2-Sep-02 13:35 
GeneralRe: Internationalization Pin
.dan.g.2-Sep-02 13:59
professional.dan.g.2-Sep-02 13:59 
GeneralRe: Internationalization Pin
Tomasz Sowinski2-Sep-02 23:03
Tomasz Sowinski2-Sep-02 23:03 
Generaldelete function for ADO Pin
nss2-Sep-02 12:36
nss2-Sep-02 12:36 
GeneralSlow Finds Pin
Wade H.2-Sep-02 11:55
Wade H.2-Sep-02 11:55 
I have an MDI app that uses a RichEditCtrl for one frame of its view. When a file is opened, the data goes to the RichEditCtrl. On the OnInitalUpdate I do the following.

SendMessage(WM_SETREDRAW,(WPARAM)FALSE,0);
ExamineJournalFile();
SendMessage(WM_SETREDRAW,(WPARAM)TRUE,0);
Invalidate(TRUE);

The ExamineJournalFile() basically does searches on the text in the control and does some cleanup and highlighting. However, it does this for 10 different keywords, and then places the file location of those keywords into a treeview in a splitter window.

Functionally, everything is fine. My issue is with the speed on large files. I have just begun to play with threading the finds, but I am not sure if that is the safest or the best way.

Anyone encoutered this, or have a better suggestion?

Thanks
GeneralRe: Slow Finds Pin
Joaquín M López Muñoz2-Sep-02 12:03
Joaquín M López Muñoz2-Sep-02 12:03 
GeneralRe: Slow Finds Pin
Wade H.2-Sep-02 13:04
Wade H.2-Sep-02 13:04 
GeneralRe: Slow Finds Pin
Christian Graus2-Sep-02 12:04
protectorChristian Graus2-Sep-02 12:04 
GeneralRe: Slow Finds Pin
Wade H.2-Sep-02 13:25
Wade H.2-Sep-02 13:25 
GeneralRe: Slow Finds Pin
Tomasz Sowinski2-Sep-02 23:38
Tomasz Sowinski2-Sep-02 23:38 
GeneralAccess database and temprory file (*.LDB) Pin
Hadi Rezaee2-Sep-02 11:24
Hadi Rezaee2-Sep-02 11:24 
GeneralRe: Access database and temprory file (*.LDB) Pin
RChin2-Sep-02 22:17
RChin2-Sep-02 22:17 
GeneralRe: Access database and temprory file (*.LDB) Pin
Joel Lucsy4-Sep-02 4:51
Joel Lucsy4-Sep-02 4:51 
GeneralChanging staticbox background ... Pin
Hadi Rezaee2-Sep-02 11:21
Hadi Rezaee2-Sep-02 11:21 
GeneralRe: Changing staticbox background ... Pin
Pavel Klocek2-Sep-02 11:32
Pavel Klocek2-Sep-02 11:32 
GeneralRe: Changing staticbox background ... Pin
Hadi Rezaee2-Sep-02 17:49
Hadi Rezaee2-Sep-02 17:49 
GeneralMCI question ... Pin
Hadi Rezaee2-Sep-02 11:12
Hadi Rezaee2-Sep-02 11:12 
GeneralRe: MCI question ... Pin
.dan.g.2-Sep-02 14:02
professional.dan.g.2-Sep-02 14:02 
GeneralWin98 MFC Compatibility Problems Pin
Jammer2-Sep-02 9:21
Jammer2-Sep-02 9:21 
GeneralThat cute balloon icon... Pin
BlackSmith2-Sep-02 6:59
BlackSmith2-Sep-02 6:59 
GeneralRe: That cute balloon icon... Pin
Joaquín M López Muñoz2-Sep-02 7:21
Joaquín M López Muñoz2-Sep-02 7:21 
GeneralRe: That cute balloon icon... Pin
BlackSmith2-Sep-02 7:28
BlackSmith2-Sep-02 7:28 

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.