Using a form contained in a VB OLE DLL as a child of the MDI form 
Author Message
 Using a form contained in a VB OLE DLL as a child of the MDI form

In my main VB project (standard EXE) I have an MDI form. I want the ability
to introduce a standard form contained in a VB OLE DLL as a child of the
MDI form.

I have been able to introduce the form using the SetParent() API call, this
puts the foreign form inside the MDI parent. However the form does not act
like a native MDIChild and I get the following problems: 1) Moving focus
from the foreign MDIchild to a native MDIChild causes the repainting not to
work correctly. 2) When the foreign form gets the focus the MDI parent form
greys out. 3) The MDI parent does not put up scroll bars when the foreign
form is moved beyond the client area.

Is it possible to get this form acting as a true MDI child?


Sat, 16 Oct 1999 03:00:00 GMT  
 [ 1 post ] 

 Relevant Pages 

1. Q: Form activate Fires On Non Child MDI Forms But Only Once On Child Mdi Forms

2. Developing OLE MDI Child forms displayed on Control MDI Form

3. MDI Form Contain Two Kinds Of Child Forms

4. Having MDI form with MDI Child form in DLL

5. Modal non MDI forms and Modeless MDI child forms in VB 5.0

6. Loading MDI Child forms to a parent form from a DLL

7. Reactivation of MDI child form containing TreeView control

8. How do I update a MDI form and its child forms using API

9. Modifying object in MDI Parent form from MDI Child form

10. Make a reference to a MDI form with a reference of a MDI child form

11. MDI-Child form and positon on MDI-form

12. MDI child forms on top of a picture on a MDI form


Powered by phpBB® Forum Software