Ok, so I'm coming in a little late on this one, but here goes.
Having read the other responses, and realising that you've gone for a
bit of a manual resolution, is it possible that the DLL-based form
doesn't realise what it's parent application is?  How are you creating
the form - in the DLL or in your EXE code?  What do you pass in as the
owner of the form?

Just a few interesting ideas - hope they help in some way.

Regards,

Bevan


Peter G Jones wrote:
> 
> 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

-- 
Bevan Edwards                           mailto:[EMAIL PROTECTED]
Achieve Software Limited                http://www.achieve.co.nz
Phone:  (64-9) 444-4210                 ICQ: 732011
Fax:    (64-9) 444-4201
Mobile: (64-21) 979-603
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz

Reply via email to