[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

921.0. "customize key question" by CADSE::WALLERT () Mon Jun 12 1989 11:04

I am part of a group that is designing the user interface for DECwindows
applications for CAD/CAM/CIM applications. In our meetings, we have had
a lot of discussion about the possibility of context-sensitive customization
of accelerators using a 'customize key.'  For example, if you wanted to
bind a key to a menu item, you would pull down the menu and position the
pointer over the item you wished to accelerate.  Then you would press and
release the 'customize key' and then release MB1.

Although the idea sounds interesting, we were wondering is it technically
possible to design a customize key?  Would we have to have our own special
copy of existing widgets (such as the help widget, etc) to build in the
customize key?

- Catherine

T.RTitleUserPersonal
Name
DateLines
921.1Why Not?HGOVC::KENBERKUNPeople that meltTue Jun 20 1989 02:079
    Sounds to me like it should work...of course I haven't tried it.
    
    Basically you're talking about changing accelerators on the fly, and
    you should be able to do that with XSetVal.  The other question is can
    you detect a keypress while you've got a menu pulled down - and I don't
    see why not - but see caveat on first line!
    
    ken b

921.2what about after a keypress?CADSE::WALLERTWed Jun 21 1989 12:4011
    
    What we are really worried about is determining the action to take
    after detecting a keypress.  We assumed that it is possible to detect
    the keypress when a menu is pulled down because that is how context-
    sensitive help works.  Someone in my group heard that context-sensitve
    help is built into all of the widgets though....and if we defined
    our own context-sensitive key that we would have to have our own
    versions of all of the widgets.  Is that true?
    
    - Catherine