Myles,

I was planning to do this to one of my projects.  Here are some of my
thoughts:

1.  Keep single instance of application - which means a hidden / off screen
main form?
2.  Need to simulate the Windows menu - no tile, cascade, etc.
3.  Set WS_* style to make child window visible to ALT+TAB, and unset WS_*
style to remove main form from ALT+TAB.
4.  Close app when last child closes.
5.  If only one child need, display [x] button on right of menu - when
clicked will close the document, but leave the child window still open with
blank document.

Please let me know how you get on.

Dennis.

----- Original Message -----
From: "Myles Penlington" <[EMAIL PROTECTED]>
To: "'NZ Borland Developers Group - Delphi List'" <[EMAIL PROTECTED]>
Sent: Friday, December 12, 2003 9:09 AM
Subject: [DUG] Change from MDI to SDI type windows ...


> Hi,
>
> We want to change a application from MDI style to SDI style windows ala MS
> Word 2000 - ie have each window as a main form that appears on the task
bar
> so you can switch between the windows using alt-tab etc.
>
> So, has anybody done this and is willing to share the pitfalls, issues and
> code snippets?
>
> Or is there a component out there that does the hard work for me?
>
> Else I will have to jump in and find the issues later ...
>
> Thanks
> Myles.
>
>
>


----------------------------------------------------------------------------
----


> _______________________________________________
> Delphi mailing list
> [EMAIL PROTECTED]
> http://ns3.123.co.nz/mailman/listinfo/delphi
>
_______________________________________________
Delphi mailing list
[EMAIL PROTECTED]
http://ns3.123.co.nz/mailman/listinfo/delphi

Reply via email to