Article View: comp.windows.x
Article #23895Problems with keypress events under DECWindows
From: M I Parsons
Date: Thu, 20 Jun 1991 09:51
Date: Thu, 20 Jun 1991 09:51
20 lines
1238 bytes
1238 bytes
I'm in the process of converting a large VWS/UIS based graphics application to DECWindows. At the moment I'm trying to get the keyboard stuff to work correctly. Unfortunately when I run my application it always comes up in numeric keypad mode. This means I can't distinguish between the keypad and the other numeric keys on the keyboard. I'm using XLookUpString and XKeysymToString to convert keypress events to ascii. I thought of using SMG$SET_KEYPAD_MODE but I obviously don't know the virtual keyboard identifier which X is using (if it is for that matter :-) ). Anyone else had to do this? BTW, setup: VAXstation 3100, VMS5.4-1, DECWindows. Thanks in advance, Mark Parsons. Edinburgh High Energy Physics Group ---ooOOOoo--- mip@castle.edinburgh.ac.uk OR parsons@vxcern.cern.ch
Technical Details
Message-ID:
<11198@castle.ed.ac.uk>Path:
arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!olivea!tardis!tymix!uunet!mcsun!ukc!edcastle!mipShow Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!samsung!olivea!tardis!tymix!uunet!mcsun!ukc!edcastle!mip From: mip@castle.ed.ac.uk (M I Parsons) Newsgroups: comp.windows.x Subject: Problems with keypress events under DECWindows Message-ID: <11198@castle.ed.ac.uk> Date: 20 Jun 91 09:51:57 GMT Organization: Edinburgh University Lines: 20