But how will this dialog centered on a single document view?
CodePudding user response:
Using CFormView (dialog)CodePudding user response:
Well, I this dialog is the base class for CFormView.Void CMainFrame: : OnFormviewRuler ()
{
//TODO: add the command handler code
M_pView - & gt; SetActiveView (0);
}
The function of the COMMAND ID is the ID of the dialog box, message is a COMMAND,
What is the role? Used to display the dialog box
CodePudding user response:
Seems to be used to switch the view to use,,,A template, but I don't see how he always put the figure of the static control shows that in the view