🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #14970

Re: Modals forms

#14970
From: Moshe Shahar
Date: Thu, 24 Jul 2003 07:35
58 lines
2744 bytes
Hi friends.

I'm sorry that I'm a little annoying and reposted this message, but I need
help.
And Bob, If you will see in the last question, I actually READ Remy answer
and did what he suggest :
"I replaced the ShowMessage with API MessageBox and it solved this one."
( Thank you again Remy )
He said that all those form are all tied to the main application.
So how I disconnect them ?

Some minimal code :

/* Cerate a form with task bar button */
void __fastcall TMyForm::CreateParams(TCreateParams &Params)
{
 TForm::CreateParams(Params);
 Params.ExStyle |= WS_EX_APPWINDOW;
 Params.WndParent = GetDesktopWindow();
}
//--------------------------------------------------------------------------
-

void __fastcall TMyForm::mnuOpenClick(TObject *Sender)
{
 TOpenDialog *pDlg = new TOpenDialog(this);
 if(pDlg->Execute())
  OpenConfig(pDlg->FileName);
 delete pDlg;
}
//--------------------------------------------------------------------------
-

And again,
Thanks for the help,
Moshe Shahar.


"Bob Gonder" <notbg@notmindspring.invalid> wrote in message
news:gnmthv4766pcvp1rjhj35rgust23im8mn1@4ax.com...
> Moshe Shahar wrote:
>
> I suggest instead of reposting this question over and over, that you
> go back to this message:
>
> From: "Remy Lebeau \(TeamB\)"
> Newsgroups: borland.public.cppbuilder.nativeapi
> Subject: Re: Modal forms in modalless forms
> Date: Wed, 16 Jul 2003 09:46:13 -0700
>
> And actually READ it.
> Then USE his suggestions.
> Then, If you still can't get it to work, post a Minimal code that we
> can compile and try.
> Use cut/paste because we don't like typos when we try to fix anyones
> problems.
>
>
Technical Details
Message-ID: <3f1f8c5f@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <3f1e2df4@newsgroups.borland.com> <gnmthv4766pcvp1rjhj35rgust23im8mn1@4ax.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,609b2dcd13e4b0d5
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-07-24 00:40:30 PST
Reply-To: "Moshe Shahar" <msachar@tiogatech.com>
From: "Moshe Shahar" <msachar@tiogatech.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3f1e2df4@newsgroups.borland.com> <gnmthv4766pcvp1rjhj35rgust23im8mn1@4ax.com>
Subject: Re: Modals forms
Date: Thu, 24 Jul 2003 10:35:58 +0300
Lines: 60
Organization: Tioga Technologies
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: 62.90.94.245
Message-ID: <3f1f8c5f@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1059032159 62.90.94.245 (24 Jul 2003 00:35:59 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail