Help! INKEY() 
Author Message
 Help! INKEY()

Please advise if there is any means that we can control inkey() to check
only keyboard, left and right mouse_down.  I have use

set eventmask to INKEY_ALL
inkey(0, 2+8+128)

But Inkey still checks mouse movement.

Please Help!

Keith



Mon, 19 Feb 2001 03:00:00 GMT  
 Help! INKEY()

Quote:
>Please advise if there is any means that we can control inkey() to check
>only keyboard, left and right mouse_down.  I have use

>set eventmask to INKEY_ALL
>inkey(0, 2+8+128)

>But Inkey still checks mouse movement.

>Please Help!

>Keith

Although your code, has no particular problem and it should work as is,
maybe this is more effective...
#Include "Inkey.ch"
#Include "Set.ch"
LOCAL oldEvent := SET( _SET_EVENTMASK, ;
                             INKEY_KEYBOARD + INKEY_LDOWN + INKEY_RDOWN )
Inkey( 0 )

... otherwise check your third party libs you use  (if any). It is possible the culprit is somewhere there.

Pit V



Mon, 19 Feb 2001 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Fivewin HELP with inkey()

2. PB/cc INKEY$/WAITKEY$ on Win95b/Win98

3. Inkey without doevents

4. problems with inkey() under winnt / processor 100%

5. Clipper 5.3b (german) using 100% CPU at inkey(0)

6. windows 2000 problem with time() and inkey() functions

7. inkey(0) ignored???

8. inkey() and processor load

9. inkey() value for Shift-TAB

10. Win2000, Inkey() and Mouse Movements

11. Problems with Nanforum's FT_ONIDLE() + Inkey()>400

12. Problems with FT_ONIDLE()+INKEY()+MEMOEDIT()

 

 
Powered by phpBB® Forum Software