Just like the example below:
Void CTestAllDlg: : OnBnClickedButton3 ()
{
//TODO: add the control notification handler code
DestroyWindow ();
}
This is a oneself add DestoryWindow button message response function, when I set the breakpoint to perform to the DestroyWindow (); Inside, only to find that can't get into the function of interior, is allowed to enter inside how to do?
Thank you!!!!
CodePudding user response:
Choose step in the options of the compiler for debugging,CodePudding user response:
Did you add breakpoints where DestoryWindow function notCodePudding user response:
Press F11 when debuggingCodePudding user response:
Just before the function to add an instruction, and the breakpoint is set in this instruction, the breakpoint, use into the MFC function in a single step mode,