Home > Software engineering >  To open a new document displays pictures of single document view
To open a new document displays pictures of single document view

Time:09-20

Want to achieve in the menu to add an event, click the box will pop up after the new document (or dialog box), then display images and further processing,
Main is don't know how to create a new window, based on the dialog box class there was to see a lot of examples but didn't find the based on document view class,
thank you

CodePudding user response:

More than 2010 version, has ribbon this control, understand, realize you this requirement completely no problem

CodePudding user response:

More than that you should see an MDI document ~

CodePudding user response:

Single document view cannot create a new window, you can remove the current open document, and then open a new file
Or, you create a new CxxxAPP object

CodePudding user response:

MFC 9.0 SP1 above when create SDI program can choose many top-level Windows (authorization code from BCG) but the implementation of the problem is the first top-level window switch off the program ended, an alternative approach is to use TAB instead of (or actually MDI, so open a new window way the same as the MDI), another is to use other libraries (Codejock/sizers, etc.)


CodePudding user response:

SDI + split window


CodePudding user response:

Find a way to an associated with dialog, but didn't find this CChildView CChildView what is
https://blog.csdn.net/shenziheng1/article/details/52829901

CodePudding user response:

You may be a single document view!
In the view shown in the picture

CodePudding user response:

The
reference 7 floor schlafenhamster response:
may be a single document view you want!
In the view shown in the picture

STH over and over again for a few days I repeat my question, is probably want to add a menu, click the open a dialog box, now I have inserted a dialog, but do not know how to put it and the main view,

CodePudding user response:

SOB -wuwuwu...... thank you I finally do a good job in the, in the evening to write a small diary!

CodePudding user response:

CFormView

CodePudding user response:

refer to the eighth floor weixin_41481434 response:
Quote: refer to 7th floor schlafenhamster response:

You may be a single document view!
In the view shown in the picture

STH over and over again for a few days I repeat my question, is probably want to add a menu, click the open a dialog box, now I have inserted a dialog, but do not know how to put it and the main view,
insert dialog box, in the menu to add an event correlation your dialog box that can be opened, and as for the data transfer, in your view class and add variables dialog box class, give a variable assignment to another can function to realize the data transfer,
  • Related