denault@galileo.IFA.Hawaii.Edu (Tony Denault) (05/08/91)
Hello, Can someone help me with receiving cursor keyboard events in a canvas window. I am using Openwin's XView toolkit. I can detect ascii key, but I would like to detect up, down, left and right cursor keys. Also the PageUp and PageDown keys. Thanks in advance. Tony Denault
fgreco@govt.shearson.com (Frank Greco) (05/13/91)
> Can someone help me with receiving cursor keyboard events in a canvas window. > I am using Openwin's XView toolkit. I can detect ascii key, but I would > like to detect up, down, left and right cursor keys. Also the PageUp and > PageDown keys. Look for the following event codes: KEY_RIGHT(8) Up KEY_RIGHT(10) Left KEY_RIGHT(12) Right KEY_RIGHT(14) Down KEY_RIGHT(9) Page up KEY_RIGHT(15) Page Down Frank G.