Nice idea. I had poDesigned and I tried poDefault - no difference.
>What setting do you have on the initial Position property and size on the
>TForm??
>eg poDesigned, etc
>
> > -----Original Message-----
> > From: Peter G Jones [SMTP:[EMAIL PROTECTED]]
> > Sent: Saturday, 13 May 2000 02:44
> > To: Multiple recipients of list delphi
> > Subject: RE: [DUG]: Loading forms from dynamic DLL's and enbedding
> > them
> >
> >
> > The embedded form is aligned to the client (Align = alClient) and it has
> > no
> > border.
> >
> > It appears as tho it is resizing itself either to the desktop or to the
> > size
> > of the main form (rather than the containing panel). Either way, I
>can't
> > see it.
> >
> >
> >
> > >From: "Wes Edwards" <[EMAIL PROTECTED]>
> > >Reply-To: [EMAIL PROTECTED]
> > >To: Multiple recipients of list delphi <[EMAIL PROTECTED]>
> > >Subject: RE: [DUG]: Loading forms from dynamic DLL's and enbedding
>them
> > >Date: Fri, 12 May 2000 14:15:23 +1200
> > >
> > >how much is the size out by ?
> > >
> > >By the height of the form caption + border, and the width of the
>border?
> > >
> > >Wes Edwards
> > >
> > > > -----Original Message-----
> > > > From: [EMAIL PROTECTED]
>[mailto:[EMAIL PROTECTED]]On
> > > > Behalf Of Peter G Jones
> > > > Sent: Saturday, 13 May 2000 02:07
> > > > To: Multiple recipients of list delphi
> > > > Subject: [DUG]: Loading forms from dynamic DLL's and enbedding them
> > > >
> > > >
> > > > There's a virtual chocolate fish available to the person who can
> > > > solve this
> > > > one.
> > > >
> > > > I have a DLL that includes a form that I want to display embedded
>into
> > a
> > > > shell application. The DLL is dynamically loaded by the shell which
> > >then
> > > > calls a startup procedure that is exported by the DLL. To the
>startup
> > > > procedure it passes a TPanel.
> > > >
> > > > When the embedded form draws itself inside the panel, it get's
> > confused
> > > > about it's size and the bottom and right of the form is lost
> > > > outside of the
> > > > containing panel.
> > > >
> > > > I have created a small demo app and dll that demonstrates this
> > > > which I can
> > > > provide on request.
> > > >
> > > > Has anyone else done this sort of thing succesfully cause this is
> > > > driving me
> > > > nuts and I need it fixed, like, last month.
> > > >
> > > >
> > > >
> > ________________________________________________________________________
> > > > Get Your Private, Free E-mail from MSN Hotmail at
> > http://www.hotmail.com
> > > >
> > > > ------------------------------------------------------------------
> > > > ---------
> > > > New Zealand Delphi Users group - Delphi List -
> > [EMAIL PROTECTED]
> > > > Website: http://www.delphi.org.nz
> > > >
> > >
> >
> >-------------------------------------------------------------------------
> > --
> > > New Zealand Delphi Users group - Delphi List -
>[EMAIL PROTECTED]
> > > Website: http://www.delphi.org.nz
> >
> > ________________________________________________________________________
> > Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
> >
> >
>--------------------------------------------------------------------------
> > -
> > New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> > Website: http://www.delphi.org.nz
>---------------------------------------------------------------------------
> New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
> Website: http://www.delphi.org.nz
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz