Thankx Ben Combee!!!
  it'll solve the problem.
Thankx
Annada

-----Original Message-----
From: Ben Combee [mailto:[EMAIL PROTECTED]
Sent: Wednesday, June 30, 2004 6:00 PM
To: Palm Developer Forum
Subject: Re: porting of _kbhit() ??


At 04:24 AM 6/30/2004, you wrote:
>Hy All,
>  what is the correct porting syntax of _kbhit(),as i am porting a vc++
>application for Palm.

_kbhit(), IIRC, is a function that tells you if a key has been pressed on 
the keyboard.  In Palm OS, that's done by getting a keyDownEvent.  You'll 
probably need to change the structure of your code to be driven by events 
rather than running in a polling mode -- there's no direct equivalent.


-- Ben Combee, DTS technical lead, PalmSource, Inc.
    Read "Combee on Palm OS" at http://palmos.combee.net/



-- 
For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/support/forums/

-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/support/forums/

Reply via email to