On Fri, 9 Jul 1999, Dave Lippincott wrote:
>
> Is it possible that you have the hardware keys masked so the OS does not
> process key pressed events?
i do mask them! :>
this has been bugging me for ages! :> the examples
(hardball etc).. mask their keys at the start of the
program (and they dont use pageUp + pageDown).
what i had to do to solve it was:
// Init
- set mask for all keys i use (except Up + Down)
>> so that the program does not switch using hard keys
// StartGame
- set mask for all keys i use (including Up + Down)
// Quit
- reset the mask
and it all works now.. the example was a bit misleading! :>
thankz Dave. :>!
az.
--
Aaron Ardiri
Lecturer http://www.hig.se/~ardiri/
University-College i G�vle mailto:[EMAIL PROTECTED]
SE 801 76 G�vle SWEDEN
Tel: +46 26 64 87 38 Fax: +46 26 64 87 88
Mob: +46 70 352 8192 A/H: +46 26 10 16 11