Click here to Skip to main content
15,895,011 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionOnInitialUpdate Pin
john56324-Oct-10 6:33
john56324-Oct-10 6:33 
AnswerRe: OnInitialUpdate Pin
josda10004-Oct-10 6:38
josda10004-Oct-10 6:38 
QuestionRe: OnInitialUpdate Pin
David Crow4-Oct-10 7:31
David Crow4-Oct-10 7:31 
AnswerRe: OnInitialUpdate Pin
Schehaider_Aymen4-Oct-10 10:47
Schehaider_Aymen4-Oct-10 10:47 
QuestionRedirect Message Box Messages, Pin
Joschwenk6664-Oct-10 5:00
Joschwenk6664-Oct-10 5:00 
AnswerRe: Redirect Message Box Messages, Pin
Code-o-mat4-Oct-10 9:23
Code-o-mat4-Oct-10 9:23 
GeneralRe: Redirect Message Box Messages, Pin
Sameerkumar Namdeo4-Oct-10 22:27
Sameerkumar Namdeo4-Oct-10 22:27 
GeneralRe: Redirect Message Box Messages, Pin
Code-o-mat5-Oct-10 23:23
Code-o-mat5-Oct-10 23:23 
Sorry for the late answer, wasn!t near net access for a day. So, you could try hooking the MessageBoxA and/or MessageBoxW API functions and provide your own implementations to write to a log file. I don't know what you are actually doing so i can't really judge but i still don't think supressing message boxes intended for the user is a BAD IDEA. Anyways, for api hooking, see API hooking revealed[^] here on Code Project.
> The problem with computers is that they do what you tell them to do and not what you want them to do. <
> "It doesn't work, fix it" does not qualify as a bug report. <
> Amazing what new features none of the programmers working on the project ever heard of you can learn about when reading what the marketing guys wrote about it. <

GeneralRe: Redirect Message Box Messages, Pin
Joschwenk6666-Oct-10 2:49
Joschwenk6666-Oct-10 2:49 
GeneralRe: Redirect Message Box Messages, Pin
Code-o-mat6-Oct-10 2:52
Code-o-mat6-Oct-10 2:52 
QuestionObtaining the thread id of the window which have keyboard focus Pin
emmmatty14-Oct-10 2:15
emmmatty14-Oct-10 2:15 
AnswerRe: Obtaining the thread id of the window which have keyboard focus Pin
bleedingfingers4-Oct-10 2:26
bleedingfingers4-Oct-10 2:26 
Questiondouble buffering Pin
aangerma4-Oct-10 1:18
aangerma4-Oct-10 1:18 
AnswerRe: double buffering PinPopular
Sauro Viti4-Oct-10 2:44
professionalSauro Viti4-Oct-10 2:44 
GeneralRe: double buffering Pin
aangerma4-Oct-10 3:20
aangerma4-Oct-10 3:20 
QuestionError Message Pin
ganesh_IT3-Oct-10 21:54
ganesh_IT3-Oct-10 21:54 
AnswerRe: Error Message Pin
Richard MacCutchan3-Oct-10 22:27
mveRichard MacCutchan3-Oct-10 22:27 
GeneralRe: Error Message Pin
Sauro Viti3-Oct-10 23:39
professionalSauro Viti3-Oct-10 23:39 
GeneralRe: Error Message Pin
Richard MacCutchan4-Oct-10 0:48
mveRichard MacCutchan4-Oct-10 0:48 
GeneralRe: Error Message Pin
Sauro Viti4-Oct-10 1:15
professionalSauro Viti4-Oct-10 1:15 
GeneralRe: Error Message Pin
Richard MacCutchan4-Oct-10 3:16
mveRichard MacCutchan4-Oct-10 3:16 
QuestionSet ID at RunTIme Pin
john56323-Oct-10 21:23
john56323-Oct-10 21:23 
AnswerRe: Set ID at RunTIme PinPopular
Code-o-mat3-Oct-10 21:29
Code-o-mat3-Oct-10 21:29 
QuestionHow to change the position of menu bar in MFC Pin
cs893-Oct-10 20:43
cs893-Oct-10 20:43 
AnswerRe: How to change the position of menu bar in MFC Pin
«_Superman_»3-Oct-10 21:17
professional«_Superman_»3-Oct-10 21:17 

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.