Didn't understand you at first, but just got it working a second ago.
On form load, set the subwindows owner to the toolbar, which allowed
them coincide when they receive focus.
Thanks Armin!
On Feb 6, 2:12 am, "Armin Zingler" <az.nos...@freenet.de> wrote:
> "papalarge" <kwy...@gmail.com> schrieb
>
> > I have a VB.NET application that consists of a toolbar and a
> > subwindow
>
> I guess this means a toolbar /window/ and a sub window. Otherwise it sounds
> like a free floating toolbar and a sub window of that toolbar.
>
> Have you tried passing the toolbar window as the owner of the sub window?
> In toolbar window:
> dim t as new subwindow
> t.show(me)
>
> It does have influence on the focus, like the sub window automatically being
> minimized whenever you minimize the toolbar window (IIRC), but I don't know
> if it also has the effect you're looking for.
>
> Armin
|