Article View: borland.public.cppbuilder.nativeapi
Article #11611Re: CPL Application with C++ Builder 6 Professional
From: Remy Lebeau (TeamB)
Date: Sat, 31 Jan 2004 22:22
Date: Sat, 31 Jan 2004 22:22
24 lines
1536 bytes
1536 bytes
"Marcello Scala" <mscala@emails.it> wrote in message
news:401c2296$1@newsgroups.borland.com...
> Where can i found a simple example of Control Panel Application?
> I want only show a form when i dblclick on applet?
1) File | New | Other | Control Panel Application
2) Assign an OnActivate handler to the TAppletModule:
#include <theform.h>
void __fastcall TMyAppletModule::MyAppletModuleActivate(TObject *Sender,
int Data)
{
TTheForm *form = new TTheForm(this);
form->ShowModal();
delete form;
}
Works fine for me.
Gambit
Technical Details
Message-ID:
<401c28fa$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<401c2296$1@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,12480d5aa08a95b4 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2004-01-31 14:39:46 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <401c2296$1@newsgroups.borland.com> Subject: Re: CPL Application with C++ Builder 6 Professional Date: Sat, 31 Jan 2004 14:22:27 -0800 Lines: 26 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.138.253 Message-ID: <401c28fa$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1075587322 67.22.138.253 (31 Jan 2004 14:15:22 -0800) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail