Click here to Skip to main content
15,889,176 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Stripping new line problem Pin
csrss21-Feb-11 23:42
csrss21-Feb-11 23:42 
QuestionHow to capture the desktop image behind my main window Pin
Tcpip200521-Feb-11 1:28
Tcpip200521-Feb-11 1:28 
AnswerRe: How to capture the desktop image behind my main window Pin
Hans Dietrich21-Feb-11 1:38
mentorHans Dietrich21-Feb-11 1:38 
GeneralRe: How to capture the desktop image behind my main window Pin
Tcpip200521-Feb-11 14:20
Tcpip200521-Feb-11 14:20 
AnswerRe: How to capture the desktop image behind my main window Pin
_AnsHUMAN_ 21-Feb-11 1:44
_AnsHUMAN_ 21-Feb-11 1:44 
AnswerRe: How to capture the desktop image behind my main window Pin
goorley24-Feb-11 21:03
goorley24-Feb-11 21:03 
QuestionWM_COMMAND is not getiing fired Pin
VC_RYK20-Feb-11 23:38
VC_RYK20-Feb-11 23:38 
AnswerRe: WM_COMMAND is not getiing fired Pin
Andrew Brock20-Feb-11 23:57
Andrew Brock20-Feb-11 23:57 
There is only a few reasons I can think of why this is happening:
1. Make sure you are looking in the right place for the message. I know it seems trivial, but it happens to everyone.
2. Make sure you set the right MsgProc for the child dialog.
3. Make sure something else isn't replacing the MsgProc for the child dialog (such as MFC)

Spy++ is distributed with Visual Studio, and can be found under the tools menu. Follow these steps to debug using Spy++.
Run your program and open the child dialog where the problems are
Start Spy++ from the Tools menu
Find your child dialog window, either in the list or using the find window toolbar icon
Right click on your child dialog window in the list and select Messages
Click some buttons in your program to see if they show up in the list

You can also check things like check the memory address of the MsgProc and window styles by selecting properties from the right click menu.
QuestionMessageBox vs AfxMessageBox Pin
Jens Joseph20-Feb-11 23:13
Jens Joseph20-Feb-11 23:13 
AnswerRe: MessageBox vs AfxMessageBox Pin
_AnsHUMAN_ 20-Feb-11 23:50
_AnsHUMAN_ 20-Feb-11 23:50 
AnswerRe: MessageBox vs AfxMessageBox Pin
Hans Dietrich20-Feb-11 23:59
mentorHans Dietrich20-Feb-11 23:59 
GeneralRe: MessageBox vs AfxMessageBox Pin
Jens Joseph21-Feb-11 0:05
Jens Joseph21-Feb-11 0:05 
GeneralRe: MessageBox vs AfxMessageBox Pin
Hans Dietrich21-Feb-11 0:28
mentorHans Dietrich21-Feb-11 0:28 
AnswerRe: MessageBox vs AfxMessageBox Pin
Andrew Brock21-Feb-11 0:30
Andrew Brock21-Feb-11 0:30 
Questionhow to use arguments Control in another class Pin
so0_lanhlung220-Feb-11 23:09
so0_lanhlung220-Feb-11 23:09 
AnswerRe: how to use arguments Control in another class Pin
Hans Dietrich20-Feb-11 23:40
mentorHans Dietrich20-Feb-11 23:40 
GeneralRe: how to use arguments Control in another class Pin
so0_lanhlung221-Feb-11 1:46
so0_lanhlung221-Feb-11 1:46 
AnswerRe: how to use arguments Control in another class Pin
Andrew Brock20-Feb-11 23:50
Andrew Brock20-Feb-11 23:50 
GeneralRe: how to use arguments Control in another class Pin
so0_lanhlung221-Feb-11 1:47
so0_lanhlung221-Feb-11 1:47 
QuestionCFileDialog Pin
john563220-Feb-11 22:16
john563220-Feb-11 22:16 
AnswerRe: CFileDialog Pin
_AnsHUMAN_ 20-Feb-11 22:24
_AnsHUMAN_ 20-Feb-11 22:24 
AnswerRe: CFileDialog Pin
Hans Dietrich20-Feb-11 23:44
mentorHans Dietrich20-Feb-11 23:44 
Questionuse of HitTest method Pin
sarfaraznawaz20-Feb-11 18:39
sarfaraznawaz20-Feb-11 18:39 
AnswerRe: use of HitTest method Pin
Cool_Dev20-Feb-11 19:27
Cool_Dev20-Feb-11 19:27 
GeneralRe: use of HitTest method Pin
sarfaraznawaz20-Feb-11 19:44
sarfaraznawaz20-Feb-11 19:44 

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.