Article View: borland.public.cppbuilder.nativeapi
Article #1761Re: Multi-thread OR Event-based?
From: Bob Gonder
Date: Thu, 14 Jun 2007 21:06
Date: Thu, 14 Jun 2007 21:06
17 lines
1550 bytes
1550 bytes
Robert G. Hoover wrote: > I must be missing something obvious... I only see the obvious: Never use the VCL OnCreate or OnDestroy events. Always use the C++ Contructor and Destuctors instead. Guessing Handle is not valid. Maybe also Screen->Width; hasn't been set yet. Also, not sure if > ClientWidth = Screen->Width; > ClientHeight = Screen->Height; include borders and titlebar. That might affect the Blt as the destination size would be illegal. You might look at GetClientRect()
Technical Details
Message-ID:
<tva373hgs85e2vfh8n1ap52e59p93ujppt@4ax.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<46701cfb@newsgroups.borland.com> <467157ba@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,27bec389d3c536e6 X-Google-Attributes: gid10cc67,public,usenet X-Google-Language: ENGLISH,ASCII-7-bit From: Bob Gonder <notbg@notmindspring.invalid> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Re: Multi-thread OR Event-based? Date: Thu, 14 Jun 2007 14:06:32 -0700 Organization: MindSpring Enterprises, Inc. Reply-To: notbg@notmindspring.invalid Message-ID: <tva373hgs85e2vfh8n1ap52e59p93ujppt@4ax.com> References: <46701cfb@newsgroups.borland.com> <467157ba@newsgroups.borland.com> X-Newsreader: Forte Agent 1.93/32.576 English (American) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit NNTP-Posting-Host: 69.69.86.80 X-Trace: newsgroups.borland.com 1181855191 69.69.86.80 (14 Jun 2007 14:06:31 -0700) Lines: 20 Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail