paul@moore.com (Paul Maclauchlan) (12/05/90)
I'm posting this for a friend, please reply directly to him. He will summarize and post his findings. **************************************************************************** Hi folks, I am a new X programmer. I wrote a XView program which displays a graph on the screen. Right now I am trying to emulate the keyboard as the mouse. So what I want is that when I hit "P" key then the "Print" panel botton would be invoked and when I hit "Q" then the "Quit" panel button would be invoked, just like using the mouse to select the buttons. Since I am not using the mouse at all so I want to grab keyboard focus for the panel when the window is opened. I have no idea how to do it, any help would be greatly appreciated. Please send e-mail directly to dennis@bragrt.UUCP Thanx in advance Dennis Ip ********************************************************************** Dennis Ip vmail: 416-366-6363 The Braegen Group Inc. fax : 416-366-4428 email: dennis@bragrt.UUCP ...!uunet!attcan!tely!moore!bragrt!dennis ********************************************************************** -- .../Paul Maclauchlan Moore Corporation Limited, Toronto, Ontario (416) 364-2600 paul@moore.com -or- {...!uunet,...!telly}!moore!paul "I know your mama she don't like me cause I play in a rock and roll band"/BS'73