Article View: borland.public.cppbuilder.nativeapi
Article #4673Re: MDI Child Float
From: Saravanan
Date: Tue, 20 Dec 2005 09:18
Date: Tue, 20 Dec 2005 09:18
54 lines
2638 bytes
2638 bytes
Please help me "saravanan" <asaravanan@ften.com> wrote in message news:43a6a2a8@newsgroups.borland.com... > Hi, > > Requirement : I need to implement attach/detach windows for the > application. > Attach mean displaying a window as child and Dettach meaning displaying > the > window as seperate application(a icon in the task bar). I should able to > toggle between attach and dettach at runtime. > > Problem : When i change the formstyle from fsChild to fsNormal, Form > Handle > is getting changed. I need same handle because some other child window > will > be posting the messages using this handle(Please don't ask me to use > Form->handle each time..). I also have some of the third-party control > which uses postmessage that should not be affected due to this Form Style > Change. > > I have seen a MFC application which does this. I don't have the source > code > but i can capture the events in SPY++. Will that help. > > Complete List of conversion between me and JD is available in > borland.public.cppbuilder.vcl.components.using (Subject: MDI Child Float) > > Regards, > Saravanan A > > "Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message > news:43a08175@newsgroups.borland.com... >> >> "Saravanan" <asaravanan@ften.com> wrote in message >> news:43a01ea0@newsgroups.borland.com... >> >> > I need a way to float MDI child window as normal Form(fsNormal) >> > and bring it back as MDI child window(fsMDIChild) whenever >> > required. How to do this ? >> >> You can change the FormStyle property dynamically at runtime, but that is >> not advisable. >> >> What EXACTLY are you trying to accomplish in the first place? >> >> >> Gambit >> >> > > > >
Technical Details
Message-ID:
<43a7cc0f$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out.usenet.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mailReferences:
<43a6a2a8@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,6d2676bf1dd2e997 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Saravanan" <asaravanan@ften.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <43a6a2a8@newsgroups.borland.com> Subject: Re: MDI Child Float Date: Tue, 20 Dec 2005 14:48:34 +0530 Lines: 56 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2900.2670 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 X-RFC2646: Format=Flowed; Original NNTP-Posting-Host: 59.92.38.76 Message-ID: <43a7cc0f$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1135070223 59.92.38.76 (20 Dec 2005 01:17:03 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!newsread.com!news-xfer.newsread.com!news-out.usenet.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail