Article View: borland.public.cppbuilder.nativeapi
Article #8676Re: How to Trigger KeyDown from a Thread?
From: Farmazon
Date: Wed, 06 Oct 2004 00:10
Date: Wed, 06 Oct 2004 00:10
12 lines
1261 bytes
1261 bytes
You can send message to thread using PostThreadMessage function. "PC Hua" <home-AT-huaonline.DOT.com> ???????/???????? ? ???????? ?????????: news:opsfe7iebspmxkmr@newsgroups.borland.com... > In my main form I'm using a routine in OnKeyDown event. How can I trigger > the event from a thread (instead calling the routine directly)? > > thanks > Phuoc Can HUA > > -- > _/\__/\__/\__/\__/\__/\_ > www.folksfun.com
Technical Details
Message-ID:
<41633809@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mailReferences:
<opsfe7iebspmxkmr@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,d92f931cda9560d9 X-Google-Attributes: gid10cc67,public X-Google-Language: ENGLISH,ASCII-7-bit From: "Farmazon" <farmazon_1@mail.ru> Newsgroups: borland.public.cppbuilder.nativeapi References: <opsfe7iebspmxkmr@newsgroups.borland.com> Subject: Re: How to Trigger KeyDown from a Thread? Date: Wed, 6 Oct 2004 03:10:43 +0300 Lines: 14 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 212.68.163.175 Message-ID: <41633809@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1097021449 212.68.163.175 (5 Oct 2004 17:10:49 -0700) Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!proxad.net!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail