New to MDI: dialogs
-
Hi I've never wrote an MDI app so this will probably sound like a silly question: I am using Visual Studio 6. I want to write an MDI program where the documents are dialogs that I design - with buttons, lists, edit boxes, combos etc. I have no clue how to do that. I've been searching for examples but could not find any. I tried creating an MDI app and then desinged dialog. Using the class wizard I tried to create a class for that dialog, derived from CView. I then changes the call to the RUNTIME_CLASS macro to use my new class, but I am getting compilation error. thanks!
-
Hi I've never wrote an MDI app so this will probably sound like a silly question: I am using Visual Studio 6. I want to write an MDI program where the documents are dialogs that I design - with buttons, lists, edit boxes, combos etc. I have no clue how to do that. I've been searching for examples but could not find any. I tried creating an MDI app and then desinged dialog. Using the class wizard I tried to create a class for that dialog, derived from CView. I then changes the call to the RUNTIME_CLASS macro to use my new class, but I am getting compilation error. thanks!
-
Hi I've never wrote an MDI app so this will probably sound like a silly question: I am using Visual Studio 6. I want to write an MDI program where the documents are dialogs that I design - with buttons, lists, edit boxes, combos etc. I have no clue how to do that. I've been searching for examples but could not find any. I tried creating an MDI app and then desinged dialog. Using the class wizard I tried to create a class for that dialog, derived from CView. I then changes the call to the RUNTIME_CLASS macro to use my new class, but I am getting compilation error. thanks!
Hi, I am using Visual Studio 6. I want to write an MDI program where the documents are dialogs that I design - with buttons, lists, edit boxes, combos etc. Actually, documents cannot be dialogs. Moreover this statement makes no sense. Documents are to store data that would be viewed by Views. And saying document you understand a class derived from CDocument. In other words, you might want your views contain dialog controls. It is possible though in case you have a CView derived class, you will not be able yo perform WYSIWYG. So, you may perform dialog templates with the necessary controls on it and create the dialog object as a child control (dialog) for the views. Or something may be done with CFormView derived classes. -- ====== Arman
-
Hi I've never wrote an MDI app so this will probably sound like a silly question: I am using Visual Studio 6. I want to write an MDI program where the documents are dialogs that I design - with buttons, lists, edit boxes, combos etc. I have no clue how to do that. I've been searching for examples but could not find any. I tried creating an MDI app and then desinged dialog. Using the class wizard I tried to create a class for that dialog, derived from CView. I then changes the call to the RUNTIME_CLASS macro to use my new class, but I am getting compilation error. thanks!
Microsoft has done a great deal of work to help developers but should have added a simple learning structure to it. U can search the MSDN for and example project whose folder name is viewex. U will get a hint for what u need this is a simple example for a class dervied from CFormView. Thank you :cool: Vikas Amin Embin Technology Bombay vikas.amin@embin.com