🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: WM_TIMER

#1842
From: Jonathan Benedicto
Date: Wed, 13 Jun 2007 16:40
20 lines
1665 bytes
Robert G. Hoover wrote:
> Do the WM_TIMER messages pile up in the Windows Queue and execute when
> the last one finishes?

AFAIK, yes.

> If so, then what happens at the end of the
> program? Do all the unhandled WM_TIMER messages disappear as the program
> has ended?

No, again, AFAIK, they'll all fire before the program closes.

> Does that mean that the longer my program runs, the longer
> and longer the message queue will get until Windows suffocates?

No, Windows has a internal limit on the no. of messages that the queue can 
hold. However, this limit is rather high. Once you reach that limit, AFAIK, 
Windows will just stop adding messages.

Jon 
Technical Details
Message-ID: <46701e25$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <4670167b@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,ca5452dcf06fe42a
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "Jonathan Benedicto" <invalid@nobody.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <4670167b@newsgroups.borland.com>
In-Reply-To: <4670167b@newsgroups.borland.com>
Subject: Re: WM_TIMER
Date: Wed, 13 Jun 2007 12:40:21 -0400
Lines: 21
MIME-Version: 1.0
Content-Type: text/plain;
 format=flowed;
 charset="iso-8859-1";
 reply-type=original
Content-Transfer-Encoding: 7bit
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Windows Mail 6.0.6000.16386
X-MimeOLE: Produced By Microsoft MimeOLE V6.0.6000.16386
NNTP-Posting-Host: 74.115.18.89
Message-ID: <46701e25$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1181752869 74.115.18.89 (13 Jun 2007 09:41:09 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news.glorb.com!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail