Click here to Skip to main content
15,900,616 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
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 
GeneralRe: Initialize static member variable in DLL Pin
Mukkie27-Apr-02 22:00
Mukkie27-Apr-02 22:00 
GeneralRe: Initialize static member variable in DLL Pin
Tom Archer27-Apr-02 22:12
Tom Archer27-Apr-02 22:12 
GeneralRe: Initialize static member variable in DLL Pin
Mukkie27-Apr-02 22:23
Mukkie27-Apr-02 22:23 
GeneralRe: Initialize static member variable in DLL Pin
Jack Hui28-Apr-02 3:32
Jack Hui28-Apr-02 3:32 
GeneralAssertion Failure in CDateTime Control Pin
Gaurika Wijeratne27-Apr-02 19:19
Gaurika Wijeratne27-Apr-02 19:19 
GeneralRe: Assertion Failure in CDateTime Control Pin
Michael Dunn28-Apr-02 2:48
sitebuilderMichael Dunn28-Apr-02 2:48 
GeneralRe: Assertion Failure in CDateTime Control Pin
Gaurika Wijeratne28-Apr-02 7:22
Gaurika Wijeratne28-Apr-02 7:22 
GeneralRe: Assertion Failure in CDateTime Control Pin
Tom Archer28-Apr-02 4:20
Tom Archer28-Apr-02 4:20 
QuestionHow do I deploy riched20.dll? Pin
Oz Ben Eliezer27-Apr-02 13:14
Oz Ben Eliezer27-Apr-02 13:14 

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.