nanogui: regarding timers
Subject:
regarding timers
From:
kourla ashok kumar reddy ####@####.####
Date:
18 Sep 2006 14:39:25 +0100
Message-Id: <20060918133918.53627.qmail@web7712.mail.in.yahoo.com>
Hi Greg,
how to use SetTimer() and WM_TIMER
in microwindows.
Regards,
Ashok.
Greg Haerr ####@####.#### wrote:
Windows, win32 and Microwindows are event-driven.
This means you can't call sleep() and expect things
to happen. To sequence through multiple pictures,
you need to set a timer and generate paint events
to repaint on the timer firings.
Regards,
Greg
: case WM_LBUTTONUP:
: MwSetDesktopWallpaper(&image_penguin);
: Sleep(1);
: MwSetDesktopWallpaper(&image_car8);
: Sleep(1);
: MwSetDesktopWallpaper(&image_microwin);
:
: mon_printf("LBUTTONUP!\n");
: break;
:
: Regards,
: Ashok
:
---------------------------------------------------------------------
To unsubscribe, e-mail: ####@####.####
For additional commands, e-mail: ####@####.####
---------------------------------
Find out what India is talking about on - Yahoo! Answers India
Send FREE SMS to your friend's mobile from Yahoo! Messenger Version 8. Get it NOW