Home > Software engineering >  Strange one for the MFC dialog box to insert a third party control after the form cannot be displaye
Strange one for the MFC dialog box to insert a third party control after the form cannot be displaye

Time:10-25

Originally an ancient MFC procedures, in the dialog window (Dialog1) to insert any third party control, window will not be able to show the whole
Dialog1 DLG.
DLG. DoModal ()
Unable to display Dialog1 window, if you add a third party control deleted, can display Dialog1 window

But if a new MFC project, insert a dialog box, and then add any third party control can display the

CodePudding user response:

If join the third party controls
Dialog1 DLG.
DLG. DoModal ()
Is the entire form doesn't pop up, compile is normal, also is not an error

If the control is deleted, the window will pop up

CodePudding user response:

Estimate is made of the old process Settings, unlike the setting of new programs, take a look at the project properties Settings there is

CodePudding user response:

[English] failed to initiate the dialog box, the dialog box attributes:
"MoreStyles" - "No fail" create "tick try!

CodePudding user response:

reference schlafenhamster reply: 3/f
dialog box initialization failed properties dialog:
"MoreStyles" - "No fail" create "tick try!


So I can, why? Please give advice or comments

CodePudding user response:

Which means that if the dialog box controls create failure, still show the dialog box,
But still can't use create failure of control!

CodePudding user response:

To study the

CodePudding user response:

Some initialization can call, such as afxoleinit
  • Related