MDI app, relative modal MDI childs 
Author Message
 MDI app, relative modal MDI childs

Hello everyone!

We are writing a MDI application, with different MDI children showing
different records of a database. When the user needs to enter some data in
one MDI child, a MDI dialog box should pop up, being modal only to the one
MDI child, which initiated this. All the other MDI windows (and the whole
application itself) should still work as usual.
Well, the first step was easy, I just disabled the MDI child window, when
the dialog pops up, and enable it, when the input is finished. The problem
is, if someone clicks on the (disabled) MDI child, I want to bring the MDI
child and the corresponding dialog to front, but a disabled window does not
get any useful messages. As we manage all MDI child windows in a treeview as
well, I want the same thing happen (= bringing both windows to front, focus
on the dialog) if somebody selects the window there; but putting all the
logic in the modal dialog.
Any help or ideas are very appreciated,

Christoph Roeper
Tel +49 241 963 2683

   | Interware GmbH
   | Dennewartstrasse 27
   | D-52068 Aachen
   | Tel +49 241 963 2680
   | Fax +49 241 963 2688

Sat, 24 Mar 2001 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Modal/detached frame window in MDI app?

2. Modal/detached frame window in MDI app?

3. MDI app w/ modal-less dialog box (inter-view communication)

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

5. problem with controlls MDI-childs

6. MDI number of childs open?

7. Arrange MDI-Childs

8. menus in MDI-childs

9. Changing Menus by MDI-Childs...

10. Closing MDI childs...

11. MDI with CFormView childs: 3 questions

12. Resizing CFormViews as MDI childs.


Powered by phpBB® Forum Software