Allow MDI Child form to overlap Aligned Picture Box in MDI Form 
Author Message
 Allow MDI Child form to overlap Aligned Picture Box in MDI Form

Basically I have one non modal form that needs to be able to breathe in the
MDI form...  It has to be able to overlap the aligned picture box...  While
the other non modal forms do not have this ability.

Anyone have a solution?



Mon, 10 Nov 2003 23:57:55 GMT  
 Allow MDI Child form to overlap Aligned Picture Box in MDI Form


Quote:
> Basically I have one non modal form that needs to be able to breathe in
the
> MDI form...  It has to be able to overlap the aligned picture box...
While
> the other non modal forms do not have this ability.

If its MDIChild property is True then it will NEVER overlap the picture box
and there's no way around it.


Tue, 11 Nov 2003 00:37:08 GMT  
 Allow MDI Child form to overlap Aligned Picture Box in MDI Form
I see.... That fubars some things up for me.  Is there anyway to acheive
this effect at all?  An API maybe?


Quote:



> > Basically I have one non modal form that needs to be able to breathe in
> the
> > MDI form...  It has to be able to overlap the aligned picture box...
> While
> > the other non modal forms do not have this ability.

> If its MDIChild property is True then it will NEVER overlap the picture
box
> and there's no way around it.



Tue, 11 Nov 2003 01:24:53 GMT  
 Allow MDI Child form to overlap Aligned Picture Box in MDI Form
Not without making the form non-MDI-Child, which probably defeats the
purpose of what you're trying to do.  Once that happens, the form is no
longer contained within the boundaries of the MDI form, so it's no longer
linked to the MDI.  If that's a problem, then I think you're out of luck.
Previous posters who have tried some form of always-on-top API functionality
with an MDI child never got good results, primarily because child forms
aren't designed to do that.  I can't think of any other way to accomplish
what you want.

What is this "breathable form" representing?  Can you make it some sort of
dockable toolbar-type thing?

Scott


Quote:
> I see.... That fubars some things up for me.  Is there anyway to acheive
> this effect at all?  An API maybe?





> > > Basically I have one non modal form that needs to be able to breathe
in
> > the
> > > MDI form...  It has to be able to overlap the aligned picture box...
> > While
> > > the other non modal forms do not have this ability.

> > If its MDIChild property is True then it will NEVER overlap the picture
> box
> > and there's no way around it.



Tue, 11 Nov 2003 01:58:49 GMT  
 Allow MDI Child form to overlap Aligned Picture Box in MDI Form
It is just a form for a scheduling componant.  But I want it to be moved
around.  I have a picture container at the top that takes up a fair bit of
room, but it is there for a purpose.  It kind of loks funny having this kind
of a form only allowed to move in the bottom half of the MDI Form...  I
could make it modal, but there is a reason I made it non modal; users need
to access other forms quickly back and forth...

The form I think is too big to make it dockable and plus I do not have any
ActiveX controls to do that, or the time to try and do it myself....


Quote:
> Not without making the form non-MDI-Child, which probably defeats the
> purpose of what you're trying to do.  Once that happens, the form is no
> longer contained within the boundaries of the MDI form, so it's no longer
> linked to the MDI.  If that's a problem, then I think you're out of luck.
> Previous posters who have tried some form of always-on-top API
functionality
> with an MDI child never got good results, primarily because child forms
> aren't designed to do that.  I can't think of any other way to accomplish
> what you want.

> What is this "breathable form" representing?  Can you make it some sort of
> dockable toolbar-type thing?

> Scott



> > I see.... That fubars some things up for me.  Is there anyway to acheive
> > this effect at all?  An API maybe?





> > > > Basically I have one non modal form that needs to be able to breathe
> in
> > > the
> > > > MDI form...  It has to be able to overlap the aligned picture box...
> > > While
> > > > the other non modal forms do not have this ability.

> > > If its MDIChild property is True then it will NEVER overlap the
picture
> > box
> > > and there's no way around it.



Tue, 11 Nov 2003 02:34:57 GMT  
 Allow MDI Child form to overlap Aligned Picture Box in MDI Form
I'm not suggesting you make it a Modal form; you can't show MDI child forms
modally anyway.  I'm suggesting you not make it an MDI child.  Then it's not
constrained by the MDI parent window, and can go anywhere.  But that
includes outside the boundaries of the MDI parent window.  I don't know if
that's a problem for you or not.  But if you look at floating windows like
what you want in other apps, they aren't constrained by the container form
either.  This is why.

You don't necessarily need ActiveX controls to create dockable windows.  VB
supports a "Sizeable ToolWindow" BorderStyle for forms, and it's not a ton
of code to make it "dockable".  I understand your time constraints, but I
don't think you're going to get the functionality you want with an MDI
child.  Depending on how close you have to make your floating solution, it
could be a lot of work.

Scott


Quote:
> It is just a form for a scheduling componant.  But I want it to be moved
> around.  I have a picture container at the top that takes up a fair bit of
> room, but it is there for a purpose.  It kind of loks funny having this
kind
> of a form only allowed to move in the bottom half of the MDI Form...  I
> could make it modal, but there is a reason I made it non modal; users need
> to access other forms quickly back and forth...

> The form I think is too big to make it dockable and plus I do not have any
> ActiveX controls to do that, or the time to try and do it myself....



> > Not without making the form non-MDI-Child, which probably defeats the
> > purpose of what you're trying to do.  Once that happens, the form is no
> > longer contained within the boundaries of the MDI form, so it's no
longer
> > linked to the MDI.  If that's a problem, then I think you're out of
luck.
> > Previous posters who have tried some form of always-on-top API
> functionality
> > with an MDI child never got good results, primarily because child forms
> > aren't designed to do that.  I can't think of any other way to
accomplish
> > what you want.

> > What is this "breathable form" representing?  Can you make it some sort
of
> > dockable toolbar-type thing?

> > Scott



> > > I see.... That fubars some things up for me.  Is there anyway to
acheive
> > > this effect at all?  An API maybe?





> > > > > Basically I have one non modal form that needs to be able to
breathe
> > in
> > > > the
> > > > > MDI form...  It has to be able to overlap the aligned picture
box...
> > > > While
> > > > > the other non modal forms do not have this ability.

> > > > If its MDIChild property is True then it will NEVER overlap the
> picture
> > > box
> > > > and there's no way around it.



Tue, 11 Nov 2003 03:13:44 GMT  
 Allow MDI Child form to overlap Aligned Picture Box in MDI Form
The problem with a non modal non mdi child form is that it is just that....
If it is open and the user clicks another part of the MDI form, the other
form goes behind the MDI form and could cause some frustration for these
users.  You know how it goes...

What does a sizable tool windows do anyway?  From my experience it just
makes the menu bar smaller.

Kip

Quote:
> I'm not suggesting you make it a Modal form; you can't show MDI child
forms
> modally anyway.  I'm suggesting you not make it an MDI child.  Then it's
not
> constrained by the MDI parent window, and can go anywhere.  But that
> includes outside the boundaries of the MDI parent window.  I don't know if
> that's a problem for you or not.  But if you look at floating windows like
> what you want in other apps, they aren't constrained by the container form
> either.  This is why.

> You don't necessarily need ActiveX controls to create dockable windows.
VB
> supports a "Sizeable ToolWindow" BorderStyle for forms, and it's not a ton
> of code to make it "dockable".  I understand your time constraints, but I
> don't think you're going to get the functionality you want with an MDI
> child.  Depending on how close you have to make your floating solution, it
> could be a lot of work.

> Scott



> > It is just a form for a scheduling componant.  But I want it to be moved
> > around.  I have a picture container at the top that takes up a fair bit
of
> > room, but it is there for a purpose.  It kind of loks funny having this
> kind
> > of a form only allowed to move in the bottom half of the MDI Form...  I
> > could make it modal, but there is a reason I made it non modal; users
need
> > to access other forms quickly back and forth...

> > The form I think is too big to make it dockable and plus I do not have
any
> > ActiveX controls to do that, or the time to try and do it myself....



> > > Not without making the form non-MDI-Child, which probably defeats the
> > > purpose of what you're trying to do.  Once that happens, the form is
no
> > > longer contained within the boundaries of the MDI form, so it's no
> longer
> > > linked to the MDI.  If that's a problem, then I think you're out of
> luck.
> > > Previous posters who have tried some form of always-on-top API
> > functionality
> > > with an MDI child never got good results, primarily because child
forms
> > > aren't designed to do that.  I can't think of any other way to
> accomplish
> > > what you want.

> > > What is this "breathable form" representing?  Can you make it some
sort
> of
> > > dockable toolbar-type thing?

> > > Scott



> > > > I see.... That fubars some things up for me.  Is there anyway to
> acheive
> > > > this effect at all?  An API maybe?


message



> > > > > > Basically I have one non modal form that needs to be able to
> breathe
> > > in
> > > > > the
> > > > > > MDI form...  It has to be able to overlap the aligned picture
> box...
> > > > > While
> > > > > > the other non modal forms do not have this ability.

> > > > > If its MDIChild property is True then it will NEVER overlap the
> > picture
> > > > box
> > > > > and there's no way around it.



Tue, 11 Nov 2003 03:41:18 GMT  
 Allow MDI Child form to overlap Aligned Picture Box in MDI Form


Quote:
> The problem with a non modal non mdi child form is that it is just
that....
> If it is open and the user clicks another part of the MDI form, the other
> form goes behind the MDI form and could cause some frustration for these
> users.  You know how it goes...

Not if you use the second parameter to the Show method so that the modeless
form always stays on top of the MDI parent. It's like a Find dialog box, you
know?


Tue, 11 Nov 2003 04:35:15 GMT  
 
 [ 8 post ] 

 Relevant Pages 

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

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

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

4. MDI child forms on top of a picture on a 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. Modal non MDI forms and Modeless MDI child forms in VB 5.0

11. Having MDI form with MDI Child form in DLL

12. Accessing Objects on a Mdi Parent form from a Mdi Child form

 

 
Powered by phpBB® Forum Software