nanogui: regarding timers


Previous by date: 18 Sep 2006 15:37:17 +0100 regarding timers, kourla ashok kumar reddy
Next by date: 18 Sep 2006 15:37:17 +0100 Re: Problem regarding microwindows running without X, Martin Kajdas
Previous in thread: 18 Sep 2006 15:37:17 +0100 regarding timers, kourla ashok kumar reddy
Next in thread: 18 Sep 2006 15:37:17 +0100 regarding timers, kourla ashok kumar reddy

Subject: Re: [nanogui] regarding timers
From: "Uwe Klatt" ####@####.####
Date: 18 Sep 2006 15:37:17 +0100
Message-Id: <008901c6db2f$f07e4230$081710ac@arnstein.miwe.de>

Hello,

>   how to use SetTimer() and WM_TIMER
>   in microwindows.

in the same way like in original windows ;-)

e.g.

In WM_CREATE of main window you add:
      idTimer = SetTimer(hWnd,1,1000,NULL);

then every second the WM_TIMER message is generated.
(You should grab a WIN32 doc...)

In WM_DESTRPY you should add also:
      KillTimer(hWnd,idTimer);


With little discipline its possible to write source that can be compiled
on linux and WINDOWS without changes!

Bye
Uwe




Previous by date: 18 Sep 2006 15:37:17 +0100 regarding timers, kourla ashok kumar reddy
Next by date: 18 Sep 2006 15:37:17 +0100 Re: Problem regarding microwindows running without X, Martin Kajdas
Previous in thread: 18 Sep 2006 15:37:17 +0100 regarding timers, kourla ashok kumar reddy
Next in thread: 18 Sep 2006 15:37:17 +0100 regarding timers, kourla ashok kumar reddy


Powered by ezmlm-browse 0.20.