🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.multimedia
Article #707

How can I make an ordered periodically message using timer?

#707
From: H. R.
Date: Sun, 01 Jun 2003 18:09
8 lines
1401 bytes
Hi,

How can I make an Ordered Message Producer in an application and process them?
For example suppose that you have a time consuming function in your application (and not respond during its calling) and wana have a timer which send and process some special messages. For example updating a progressbar or animating something....
Creating a timer in a new initialized thread seems to be one of the solution way... But it does not work correctly...You can test it by a simple example written in BCB yourself....

Regards,
Technical Details
Message-ID: <3eda4173$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10d0fc,69759c14b1365cac,start
X-Google-Attributes: gid10d0fc,public
X-Google-ArrivalTime: 2003-06-01 11:12:24 PST
From: "H. R." <hrz_mir@Yahoo.com>
Sender: "H. R." <hrz_mir@Yahoo.com>
Reply-To: "H. R." <hrz_mir@Yahoo.com>
Subject: How can I make an ordered periodically message using timer?
Newsgroups: borland.public.cppbuilder.multimedia
X-User-Info: 80.242.9.17 80.242.9.17    
NNTP-Posting-Host: 207.105.83.65
Message-ID: <3eda4173$1@newsgroups.borland.com>
Date: 1 Jun 2003 11:09:55 -0700
X-Trace: newsgroups.borland.com 1054490995 207.105.83.65 (1 Jun 2003 11:09:55 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-09!supernews.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail