if (pOccManager!=NULL)
{
POccManager - & gt; PostCreateDialog (& amp; OccDialogInfo);
If (hWnd!=NULL)
{
SetOccDialogInfo (NULL);
}
}
Breakpoint here, the debug will not enter here, will release to come in, what's the situation, to ask you
I call the print preview method is by joining CPrinter, CPrintFrame CPrintView this three classes, and then the following methods to open the
CPrintFrame * frame=new CPrintFrame ();
Frame - & gt; Create (_T (" print preview "), and this, TRUE);
CodePudding user response:
Don't call AfxEnableControlContainer (); ?