Am Donnerstag, den 23.08.2007, 17:02 +0200 schrieb Graeme Geldenhuys:
> Hi,
> 
> Anybody know what is a alternative (non-GUI) way for the
> Application.ProcessMessages call?
> 
> I'm trying to make tiOPF's Core code non-GUI, but not sure what to do
> with this call.  It's used in a TerminateThreads() method.

In a program using only fpc with gtk1 (no lazarus/LCL) I've used the
gtk-way of doing it:

while (gtk_events_pending()=gtk_true) do gtk_main_iteration ();

I'm pretty sure nearly each windowing library has it's own message loop.

HTH,
Marc


_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to