Home > Software engineering >  How to turn a ready dialog resource on display in a single document page?
How to turn a ready dialog resource on display in a single document page?

Time:11-26

I added in a single document resources in a dialog box, to the dialog box to add a static control, and drawing on the static control,

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
  • Related