Article View: borland.public.cppbuilder.nativeapi
Article #16788Re: How to trigger on enter idle state.
From: Gary Setter
Date: Wed, 23 Apr 2003 12:36
Date: Wed, 23 Apr 2003 12:36
23 lines
1722 bytes
1722 bytes
"Damon Chandler (TeamB)" <dmc27@cornell.edu> wrote in message news:3EA64309.35FCF464@cornell.edu... <snip> If you're creating a pure API > application, you'd call PeekMessage() within your message-processing loop to > determine whether to process the message [e.g., via GetMessage()*] or > whether to call your "OnIdle" code. > > * You'd call GetMessage() if you used PM_NOREMOVE with PeekMessage(); if you > use PM_REMOVE, you've already removed the message from the queue so you'd > call TranslateMessage() and DispatchMessage() directly. > > HTH, > -- > Damon (TeamB) > BCBCAQ--http://bcbcaq.bytamin-c.com Thanks Damon, That definitely helps. Gary
Technical Details
Message-ID:
<3ea720bf@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-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3e9ff495@newsgroups.borland.com> <3EA64309.35FCF464@cornell.edu>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,299952604d3f7245 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-04-23 16:26:18 PST From: "Gary Setter" <setterg@worldnet.att.net> Newsgroups: borland.public.cppbuilder.nativeapi References: <3e9ff495@newsgroups.borland.com> <3EA64309.35FCF464@cornell.edu> Subject: Re: How to trigger on enter idle state. Date: Wed, 23 Apr 2003 07:36:08 -0500 Lines: 24 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit 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: 12.84.32.34 Message-ID: <3ea720bf@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1051140287 12.84.32.34 (23 Apr 2003 16:24:47 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail