Opening a new MDI child from a MDI Child 
Author Message
 Opening a new MDI child from a MDI Child

Hi there,

I am developing an MDI application, and would like to do the following.

I open bmp images in my MDI child window.  The user may then select to
to some image processing on the image.  I would like that the new
resulting processed image, be opening in another MDI window.  (So that
he/she can compare results with the original).

How can I do this ?
Any ideas/suggestions ?

Thanks
JP

Sent via Deja.com http://www.*-*-*.com/
Before you buy.



Fri, 05 Jul 2002 03:00:00 GMT  
 Opening a new MDI child from a MDI Child
LP,

Find the document template for your current child window -
GetActiveDocument()->GetDocTemplate(). Use the document template to create
the new child frame using the methods CreateNewFrame and InitialUpdateFrame.
Parameters to CreateNewFrame allow you to create a new document or just a
new view on the existing document.

Dave Smith
MCSE, MCT, MVP

Quote:

> Hi there,

> I am developing an MDI application, and would like to do the following.

> I open bmp images in my MDI child window.  The user may then select to
> to some image processing on the image.  I would like that the new
> resulting processed image, be opening in another MDI window.  (So that
> he/she can compare results with the original).

> How can I do this ?
> Any ideas/suggestions ?

> Thanks
> JP

> Sent via Deja.com http://www.deja.com/
> Before you buy.



Fri, 05 Jul 2002 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Opening a new MDI child when no MDI Child exists

2. How develop MDI application with child forms like VB MDI and Child forms

3. How to create an MDI App without an initial MDI Child opening by the framework

4. MDI open new child windows

5. Change MDI child caption and Close child window button

6. Change MDI child caption and Close child window button

7. DataView filter not working in MDI child forms with reference to MDI parent DataSet

8. MFC MDI Multiple Views in Separate MDI Child Windows

9. Variables between MDI and MDI-child...

10. Communication between MDI Parent and MDI Child

11. getting all open MDI child windows from CMainFrame

12. Start an MDI App without an open Child Window

 

 
Powered by phpBB® Forum Software