🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.winforms.controls.using
Article #37

Re: vcl .net components in winforms

#37
From: shaun.dodimead
Date: Mon, 04 Dec 2006 17:07
12 lines
1843 bytes
Hi,

I have a similar problem to this. I've got it working using the handle
assignment, but if i dispose of my tform, and the handling form etc,
and then try to do it again (i.e. recreate the windows forms panel,
create a new tform instance, bind the handle to the new win forms
panel) when i call the tform.show() method, i get 'Invalid Window
Handle'.

It works the first, time just not any subsequent times! Any thoughts?

Shaun
Technical Details
Message-ID: <1165252070.689455.141750@f1g2000cwa.googlegroups.com>
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!f1g2000cwa.googlegroups.com!not-for-mail
References: <45217487$1@newsgroups.borland.com> <8yqt8mui2oul$.dlg@dlg.marcrohloff.com> <4522cf38$1@newsgroups.borland.com> <45239193$1@newsgroups.borland.com> <45253a8d$1@newsgroups.borland.com> <452a119c@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1eff29,c99f59e38edc8162
X-Google-Attributes: gid1eff29,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!postnews.google.com!f1g2000cwa.googlegroups.com!not-for-mail
From: shaun.dodimead@spacething.org
Newsgroups: borland.public.delphi.winforms.controls.using
Subject: Re: vcl .net components in winforms
Date: 4 Dec 2006 09:07:50 -0800
Organization: http://groups.google.com
Lines: 13
Message-ID: <1165252070.689455.141750@f1g2000cwa.googlegroups.com>
References: <45217487$1@newsgroups.borland.com>
   <8yqt8mui2oul$.dlg@dlg.marcrohloff.com>
   <4522cf38$1@newsgroups.borland.com>
   <45239193$1@newsgroups.borland.com>
   <45253a8d$1@newsgroups.borland.com>
   <452a119c@newsgroups.borland.com>
NNTP-Posting-Host: 195.99.136.50
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
X-Trace: posting.google.com 1165252076 1900 127.0.0.1 (4 Dec 2006 17:07:56 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Mon, 4 Dec 2006 17:07:56 +0000 (UTC)
In-Reply-To: <452a119c@newsgroups.borland.com>
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.8.0.8) Gecko/20061025 Firefox/1.5.0.8,gzip(gfe),gzip(gfe)
Complaints-To: groups-abuse@google.com
Injection-Info: f1g2000cwa.googlegroups.com; posting-host=195.99.136.50;
   posting-account=HZKKTQ0AAAAaXq2_NcVEnDOqO4v8roND