Article View: borland.public.cppbuilder.nativeapi
Article #2759Re: Application->CreateForm
From: Remy Lebeau (TeamB)
Date: Sat, 25 Nov 2006 01:54
Date: Sat, 25 Nov 2006 01:54
16 lines
1458 bytes
1458 bytes
"Dmitry Konnov" <dmitry@weblinedesign.biz> wrote in message news:4567333e@newsgroups.borland.com... > If i registered form with RegisterClass(__classid(TMyForm)) > > since then i can create my forms by VCLClass name. > > And this reduces dependency in code since no #include need You have to use an #include anyway in order to declare and use your form variable. So what do you gain exactly by using Register/FindClass() and CreateForm()? Nothing. Gambit
Technical Details
Message-ID:
<4567a4ea@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<45672a82@newsgroups.borland.com> <45672d88$1@newsgroups.borland.com> <4567333e@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,cc726ca6ac385fd3 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Remy Lebeau \(TeamB\)" <no.spam@no.spam.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <45672a82@newsgroups.borland.com> <45672d88$1@newsgroups.borland.com> <4567333e@newsgroups.borland.com> Subject: Re: Application->CreateForm Date: Fri, 24 Nov 2006 17:54:08 -0800 Lines: 18 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1409 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1409 NNTP-Posting-Host: 69.169.4.232 Message-ID: <4567a4ea@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1164420330 69.169.4.232 (24 Nov 2006 18:05:30 -0700) Path: arc1-ca.pugleaf.net!g2news2.google.com!news2.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail