🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: How to Trigger KeyDown from a Thread?

#8677
From: PC Hua
Date: Wed, 06 Oct 2004 01:23
28 lines
1700 bytes
Sorry, I couldn't find PostThreadMessage in help.
Did you mean sending to a thread?
But I want the KeyDown triggered from a thread.

On Wed, 6 Oct 2004 03:10:43 +0300, Farmazon <farmazon_1@mail.ru> wrote:

> 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
>
>



-- 
_/\__/\__/\__/\__/\__/\_
www.folksfun.com
Technical Details
Message-ID: <opsffctzv8pmxkmr@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <opsfe7iebspmxkmr@newsgroups.borland.com> <41633809@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
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: How to Trigger KeyDown from a Thread?
References: <opsfe7iebspmxkmr@newsgroups.borland.com> <41633809@newsgroups.borland.com>
Message-ID: <opsffctzv8pmxkmr@newsgroups.borland.com>
From: PC Hua <home-AT-huaonline.DOT.com>
Content-Type: text/plain; format=flowed; charset=iso-8859-15
MIME-Version: 1.0
Content-Transfer-Encoding: 8bit
Date: Wed, 06 Oct 2004 11:23:49 +1000
User-Agent: Opera7.21/Win32 M2 build 3218
NNTP-Posting-Host: 203.194.21.162
X-Trace: newsgroups.borland.com 1097025829 203.194.21.162 (5 Oct 2004 18:23:49 -0700)
Lines: 28
Path: arc1-ca.pugleaf.net!g2news1.google.com!news1.google.com!news.glorb.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newshosting.com!nx02.iad01.newshosting.com!203.109.252.33.MISMATCH!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail