Click here to Skip to main content
15,913,944 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Debug Assertion Failed! Pin
Tim Smith28-Apr-02 3:35
Tim Smith28-Apr-02 3:35 
QuestionBegginer - More than one dialog box? Pin
28-Apr-02 0:28
suss28-Apr-02 0:28 
AnswerRe: Begginer - More than one dialog box? Pin
Tom Archer28-Apr-02 0:39
Tom Archer28-Apr-02 0:39 
AnswerRe: Begginer - More than one dialog box? Pin
Paul M Watt28-Apr-02 5:56
mentorPaul M Watt28-Apr-02 5:56 
GeneralQueryDef problem... Pin
Kemal OZLU27-Apr-02 22:52
Kemal OZLU27-Apr-02 22:52 
GeneralCascadeWindows and TileWindows Pin
nilaysoft27-Apr-02 22:45
nilaysoft27-Apr-02 22:45 
GeneralRe: CascadeWindows and TileWindows Pin
Paul M Watt28-Apr-02 5:59
mentorPaul M Watt28-Apr-02 5:59 
GeneralRe: CascadeWindows and TileWindows Pin
Priya_Sundar5-Feb-09 17:55
Priya_Sundar5-Feb-09 17:55 
QuestionDisplaying CFormView? Pin
mohanrajh27-Apr-02 22:16
mohanrajh27-Apr-02 22:16 
AnswerRe: Displaying CFormView? Pin
Tom Archer27-Apr-02 22:27
Tom Archer27-Apr-02 22:27 
GeneralRe: Displaying CFormView? Pin
mohanrajh27-Apr-02 23:00
mohanrajh27-Apr-02 23:00 
GeneralRe: Displaying CFormView? Pin
Tom Archer27-Apr-02 23:10
Tom Archer27-Apr-02 23:10 
GeneralRe: Displaying CFormView? Pin
Tom Archer27-Apr-02 23:29
Tom Archer27-Apr-02 23:29 
GeneralRe: Displaying CFormView? Pin
mohanrajh27-Apr-02 23:52
mohanrajh27-Apr-02 23:52 
GeneralRe: Displaying CFormView? Pin
Tom Archer27-Apr-02 23:57
Tom Archer27-Apr-02 23:57 
GeneralRe: Displaying CFormView? Pin
mohanrajh28-Apr-02 0:22
mohanrajh28-Apr-02 0:22 
GeneralRe: Displaying CFormView? Pin
Tom Archer28-Apr-02 0:35
Tom Archer28-Apr-02 0:35 
mohanrajh wrote:
Very much thanks for the Demo, is that the code same even for if the dialog resource is IDD_FORMVIEW(now what u have done is IDD_DIALOG1

The resource id doesn't matter as it's abstracted from my code via your CFormView-derived class.

mohanrajh wrote:
By the way i've already develped number of of applicatons(15,every application is a single window) in MDI,now i have to integerate all the applicaton into an single MDI application, can u give me a idea.

Sure. Shouldn't be too hard. I haven't actualy done the following steps, but something like this should be really close to what you need to do.

1) Open the MDI project where everything will end up
2) One by one, open the resource file of each MDI project that has only one view. Copy the needed dialog to the clipboard and then paste it into the main MDI project's resource view.
3) Copy each view's cpp and h file to the main project's folder and add it to the project.
4) If you've kept your code mainly in the view classes, you should be set at this point.
5) Now just follow the original instructions from the point at which you have your formview classes.


Cheers,
Tom Archer
Author, Inside C#

A total abstainer is one who abstains from everything but abstention, and especially from inactivity in the affairs of others.
GeneralRe: Displaying CFormView? Pin
mohanrajh29-Apr-02 1:36
mohanrajh29-Apr-02 1:36 
GeneralRe: Displaying CFormView? Pin
Tom Archer29-Apr-02 3:08
Tom Archer29-Apr-02 3:08 
GeneralRe: Displaying CFormView? Pin
mohanrajh1-May-02 21:21
mohanrajh1-May-02 21:21 
GeneralInitialize static member variable in DLL Pin
Jack Hui27-Apr-02 19:43
Jack Hui27-Apr-02 19:43 
GeneralRe: Initialize static member variable in DLL Pin
Tom Archer27-Apr-02 20:39
Tom Archer27-Apr-02 20:39 
GeneralRe: Initialize static member variable in DLL Pin
Tom Archer27-Apr-02 20:45
Tom Archer27-Apr-02 20:45 
GeneralRe: Initialize static member variable in DLL Pin
Jack Hui27-Apr-02 21:11
Jack Hui27-Apr-02 21:11 
GeneralRe: Initialize static member variable in DLL Pin
Tom Archer27-Apr-02 21:24
Tom Archer27-Apr-02 21:24 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.