Article View: borland.public.cppbuilder.nativeapi
Article #12634Re: SendMessage problem.
From: Remy Lebeau (TeamB)
Date: Mon, 24 Nov 2003 19:37
Date: Mon, 24 Nov 2003 19:37
17 lines
1645 bytes
1645 bytes
"Bogdan" <boprea@xnet.ro> wrote in message news:3fc24f8c@newsgroups.borland.com... > i need it to be sent at the fastest possible rate(for more fps or > course).Does anyone know what the problem might be? If you are not passing pointers as parameters for the message, then try using PostMessage() instead of SendMessage(). SendMessage() is slower than PostMessage() because SendMessage() has to wait for a reply from the window before it can return, whereas PostMessage() returns immediately. On the other hand, though, PostMessage() relies on a message queue whereas SendMessage() does not, so the speed in which posted messages are handled is related to the speed in which the message queue is pumping new messages to the application. Gambit
Technical Details
Message-ID:
<3fc25d17$1@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mailReferences:
<3fc24f8c@newsgroups.borland.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,ab939c4c68e22e49 X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-11-24 11:40:26 PST From: "Remy Lebeau \(TeamB\)" <gambit47.no.spam@no.spam.yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3fc24f8c@newsgroups.borland.com> Subject: Re: SendMessage problem. Date: Mon, 24 Nov 2003 11:37:41 -0800 Lines: 19 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 67.22.137.149 Message-ID: <3fc25d17$1@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1069702423 67.22.137.149 (24 Nov 2003 11:33:43 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!fu-berlin.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail