nanogui: Blocking mode operation for Microwindows/Win32 API


Previous by date: 29 Jun 2001 18:56:09 -0000 Re: mouse driver, Jordan Crouse
Next by date: 29 Jun 2001 18:56:09 -0000 Re: mouse driver, MagnaSygg Technical Support
Previous in thread:
Next in thread: 29 Jun 2001 18:56:09 -0000 Re: Blocking mode operation for Microwindows/Win32 API, Greg Haerr

Subject: Blocking mode operation for Microwindows/Win32 API
From: "KIM,KYOUNG-IL (HP-Cupertino,ex1)" ####@####.####
Date: 29 Jun 2001 18:56:09 -0000
Message-Id: <4341EF5F8B4AD311AB4B00902740B9F208952F7D@xcup02.cup.hp.com>

Hi, 

Microwindow/Win32 API keeps polling for keypad and touch pad(mouse) scanning
and
for peeking messages.  This is not good for battery powered device like PAD.

I'm trying to change this polling mode operation to Blocking mode.
To do this I modified select() of MwSelect()(in winmain.c) to blocking mode.
But it prevents for WM_PAINT(and more(?)) message from being processed
because
program stops at MwSelect() which is in the middle of PeekMessage() and
PeekMessage()
function won't be returned. 
Dose anybody have any idea ?

Kyoung 
 

Previous by date: 29 Jun 2001 18:56:09 -0000 Re: mouse driver, Jordan Crouse
Next by date: 29 Jun 2001 18:56:09 -0000 Re: mouse driver, MagnaSygg Technical Support
Previous in thread:
Next in thread: 29 Jun 2001 18:56:09 -0000 Re: Blocking mode operation for Microwindows/Win32 API, Greg Haerr


Powered by ezmlm-browse 0.20.