Click here to Skip to main content
15,912,977 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Old style JPEG compression Tiff file problem Pin
Chris Losinger11-Nov-11 1:18
professionalChris Losinger11-Nov-11 1:18 
GeneralRe: Old style JPEG compression Tiff file problem Pin
Hadi Dayvary11-Nov-11 19:05
professionalHadi Dayvary11-Nov-11 19:05 
QuestionPreTranslateMessage runs twice in VC 6.0 MFC Pin
Vaclav_10-Nov-11 3:09
Vaclav_10-Nov-11 3:09 
Questionfopen fails to give error when UAC is enabled Pin
sindhumahe10-Nov-11 0:54
sindhumahe10-Nov-11 0:54 
QuestionRe: fopen fails to give error when UAC is enabled Pin
Code-o-mat10-Nov-11 1:49
Code-o-mat10-Nov-11 1:49 
AnswerRe: fopen fails to give error when UAC is enabled Pin
sindhumahe10-Nov-11 2:04
sindhumahe10-Nov-11 2:04 
GeneralRe: fopen fails to give error when UAC is enabled Pin
Code-o-mat10-Nov-11 2:18
Code-o-mat10-Nov-11 2:18 
QuestionRe: fopen fails to give error when UAC is enabled Pin
David Crow10-Nov-11 2:35
David Crow10-Nov-11 2:35 
AnswerRe: fopen fails to give error when UAC is enabled Pin
Chris Meech10-Nov-11 2:46
Chris Meech10-Nov-11 2:46 
QuestionRe: fopen fails to give error when UAC is enabled Pin
David Crow10-Nov-11 4:11
David Crow10-Nov-11 4:11 
AnswerRe: fopen fails to give error when UAC is enabled Pin
Chris Meech10-Nov-11 4:29
Chris Meech10-Nov-11 4:29 
GeneralRe: fopen fails to give error when UAC is enabled Pin
David Crow10-Nov-11 4:36
David Crow10-Nov-11 4:36 
QuestionRe: fopen fails to give error when UAC is enabled Pin
bob1697210-Nov-11 4:09
bob1697210-Nov-11 4:09 
QuestionCEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.9-Nov-11 18:49
Vijjuuu.9-Nov-11 18:49 
I have a MFC MDI (logging) application developed in VS2005 in Windows XP which gets logs from another Process(using pipes) and logs them into view. i have a View derived from CEditView. There is so much of logging is done to MFC application for every sec and works good in XP.

when the same application is running in Windows 7. initally it seems to be good but when the logging data is becoming more and more we can se the MFC application is logging data very slowly when compared to XP.

On analysis it was found that operation on Edit Ctrl is making the logging slow

these are the line of code which is making the application slow .


int nLen = GetWindowTextLength();
GetEditCtrl().SetSel(nLen,nLen); // tested GetEditCtrl().SetSel(-1,-1); as well
GetEditCtrl().ReplaceSel(strTemp); // strTemp is the Cstring data which is read from pipe

Is there any better way to make application not to get slow in Window 7 ?
AnswerRe: CEditView operation rediculously Slows down in Windows 7 Pin
Richard MacCutchan9-Nov-11 22:37
mveRichard MacCutchan9-Nov-11 22:37 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.9-Nov-11 23:03
Vijjuuu.9-Nov-11 23:03 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Richard MacCutchan10-Nov-11 0:20
mveRichard MacCutchan10-Nov-11 0:20 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.10-Nov-11 5:00
Vijjuuu.10-Nov-11 5:00 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Richard MacCutchan10-Nov-11 6:23
mveRichard MacCutchan10-Nov-11 6:23 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.10-Nov-11 6:28
Vijjuuu.10-Nov-11 6:28 
AnswerRe: CEditView operation rediculously Slows down in Windows 7 Pin
David Crow10-Nov-11 2:46
David Crow10-Nov-11 2:46 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.10-Nov-11 4:59
Vijjuuu.10-Nov-11 4:59 
SuggestionRe: CEditView operation rediculously Slows down in Windows 7 Pin
David Crow10-Nov-11 5:05
David Crow10-Nov-11 5:05 
GeneralRe: CEditView operation rediculously Slows down in Windows 7 Pin
Vijjuuu.10-Nov-11 5:08
Vijjuuu.10-Nov-11 5:08 
QuestionHow to repeat call to MapViewOfFile with a different range on a file, to write bigger buffer.? Pin
G Haranadh9-Nov-11 17:52
G Haranadh9-Nov-11 17:52 

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.