2006/7/27, Michael Van Canneyt <[EMAIL PROTECTED]>:
On Thu, 27 Jul 2006, Alexandre Leclerc wrote:
> I need to post a message in the 'message queue' of my application so
> that the message is processed after other messages have been
> processed... In Delphi the PostMessage() function was doing the thing
> with a special message trap in the class.public section.
>
> Is this portable? Or is there another mechanism in FPC?
This is not portable as far as I know.
Is there a way to add a message in the Application run queue? In fact
I don't care if it's a message or not, I simply want to introduce the
executing of a procedure a little bit later, after the current queued
messages are executed.
The only stuff I can find is: QueueAsyncCall() and ExecuteAction() but
I have no clue how to use and if it does the job. Because if we had a
solution directly with TApplication, we would have quite a good
portable 'queueing process' with TApplication.
--
Alexandre Leclerc
_________________________________________________________________
To unsubscribe: mail [EMAIL PROTECTED] with
"unsubscribe" as the Subject
archives at http://www.lazarus.freepascal.org/mailarchives