nanogui: greg@censoft.com


Previous by date: 16 Sep 2006 00:49:24 +0100 greg@censoft.com, kourla ashok kumar reddy
Next by date: 16 Sep 2006 00:49:24 +0100 Problem regarding microwindows running without X, pratish ganguly
Previous in thread: 16 Sep 2006 00:49:24 +0100 greg@censoft.com, kourla ashok kumar reddy
Next in thread:

Subject: Re: [nanogui] greg@censoft.com
From: "Greg Haerr" ####@####.####
Date: 16 Sep 2006 00:49:24 +0100
Message-Id: <1c8501c6d921$8dc23120$0300a8c0@RDP>

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
:

Previous by date: 16 Sep 2006 00:49:24 +0100 greg@censoft.com, kourla ashok kumar reddy
Next by date: 16 Sep 2006 00:49:24 +0100 Problem regarding microwindows running without X, pratish ganguly
Previous in thread: 16 Sep 2006 00:49:24 +0100 greg@censoft.com, kourla ashok kumar reddy
Next in thread:


Powered by ezmlm-browse 0.20.