Click here to Skip to main content
15,903,033 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
Erudite_Eric10-Nov-11 20:59
Erudite_Eric10-Nov-11 20:59 
GeneralRe: Windows has triggered a breakpoint in xxxxx, This may be due a corruption of the heap Pin
sdancer7510-Nov-11 21:55
sdancer7510-Nov-11 21:55 
QuestionOld style JPEG compression Tiff file problem Pin
Hadi Dayvary10-Nov-11 7:02
professionalHadi Dayvary10-Nov-11 7:02 
AnswerRe: Old style JPEG compression Tiff file problem Pin
Chris Losinger10-Nov-11 8:20
professionalChris Losinger10-Nov-11 8:20 
GeneralRe: Old style JPEG compression Tiff file problem Pin
Hadi Dayvary10-Nov-11 22:28
professionalHadi Dayvary10-Nov-11 22:28 
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 
Here is a snippet of some documentation I found about this
"
The default implementation performs accelerator-key translation, so you must call the CWinApp::PreTranslateMessage member function in your overridden version.
"
I am intercepting ( in MFC main frame) a user message (WM_ xxx) to initialize my application multiple views and the message gets interpreted by the PreTranslateMessage twice due to the call to

return CMDIFrameWnd::PreTranslateMessage(pMsg);

as implemented by MFC.

I "fixed" it by setting a pass flag so it does not get processed twice.
I am not looking forward to do this for every message I will post to the main frame.
Is that OK?
Thanks for your comments.
Vaclav
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 
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 

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.