Re: Do_Events()
From: AlanGLLoyd (alanglloyd_at_aol.com)
Date: 08/15/04
- Next message: Thomas Clay: "Re: Do_Events()"
- Previous message: Michael Brown: "Re: Investigating MMX instructions in Delphi."
- In reply to:(deleted message) not_at_any.adr: "Re: Do_Events()"
- Next in thread: Thomas Clay: "Re: Do_Events()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: 15 Aug 2004 06:05:20 GMT
In article <q6qth09jl4g5d8i6vtl237ig8gtpq1t7lk@4ax.com>, not@any.adr writes:
>You need to write a secondary message dispatcher to be called periodically
>during the loops...
>
>Look in the WinApi guide for PeekMessage and GetQueueStatus... these can be
>used along with TranslateMessage and DispatchMessage to create a message
>dispatcher that checks the message queue and doesn't wait around for
>something
>to do...
>
That's the tech-whizzy way to go <g>, but Delphi's equivalent to Do_Events for
simple programmers is Application.ProcessMessages - and has similar,
occasionally-met gotchas hidden in it.
Alan Lloyd
alanglloyd@aol.com
- Next message: Thomas Clay: "Re: Do_Events()"
- Previous message: Michael Brown: "Re: Investigating MMX instructions in Delphi."
- In reply to:(deleted message) not_at_any.adr: "Re: Do_Events()"
- Next in thread: Thomas Clay: "Re: Do_Events()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|