MDI child forms on top of a picture on a MDI form 
Author Message
 MDI child forms on top of a picture on a MDI form

I have a Picture control covering my MDI Form.  When I try to load a child
form I can't see it.  It's behind the Picture control.  Is there anyway I can
make my child form come to the top?  I've tried using BringWindowToTop,
SetParent and SetWindowWord.  These give me GPFs -- I try and use the Picture
control as the parent.   Any ideas?

Thanks,
Justin Smith



Wed, 09 Jul 1997 06:24:24 GMT  
 MDI child forms on top of a picture on a MDI form

Quote:

>I have a Picture control covering my MDI Form.  When I try to load a child
>form I can't see it.  It's behind the Picture control.  Is there anyway I can
>make my child form come to the top?  I've tried using BringWindowToTop,
>SetParent and SetWindowWord.  These give me GPFs -- I try and use the Picture
>control as the parent.   Any ideas?

>Thanks,
>Justin Smith

Justin,
Is it absolutely necessary that this form be an MDI-child? I think you can obtain
satisfactory results by making the form a 'regular' non-MDI-child form and using
the SetWindowWord() API call as outlined in my article here, "RE: Keeping a form on
top of an MDI-parent" (get the latest, from myself; I answered my own question).

Good Luck,
Terrell Cantrell



Thu, 10 Jul 1997 08:08:41 GMT  
 
 [ 2 post ] 

 Relevant Pages 

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

2. Allow MDI Child form to overlap Aligned Picture Box in MDI Form

3. Allow MDI Child form to overlap Aligned Picture Box in MDI Form

4. Allow MDI Child form to overlap Aligned Picture Box in MDI Form

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

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

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

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

9. Help with MDI Forms and MDI child forms

10. Can I to display on top form in MDI Child form

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

12. Can i to display on top form in MDI Child form

 

 
Powered by phpBB® Forum Software