XForms: How to detect SHIFT <Mouse Button> ?

Ivan Powis (pczip@chemistry.nottingham.ac.uk)
Wed, 02 Jul 1997 9:56:45 BST

To subscribers of the xforms list from Ivan Powis <pczip@chemistry.nottingham.ac.uk> :

I'm using a post-emptive handler to add some interactive functionality
to xyplot ( along the lines of DEMOS/xyplotall.c ). The 'key' value
which gets returned to this handler accurately reflects which mouse
button was pressed, but I'd like to be able to provide modified
response by using eg keyboard SHIFT + LEFT MOUSE BUTTON.

Neither 'key' (nor fl_mouse_button used in a callback) seem to give
any indication as to the concurrent status of SHIFT, ALT etc key
modifiers. Can this be accomplished, and if so how?

Ivan

--
-------------------------------------------------------------------------+
    ___  ___/   _  __ /  Ivan Powis                TEL: +44-115-951-3467 |
        /         /   /  Department of Chemistry   FAX: +44-115-951-3562 |
       /         /  _/   University of Nottingham                        |
      /         ___/     Nottingham NG7 2RD                              |
     /         /         UK                                              |
    /         /                      pczip@chem.nott.ac.uk               | 
_______/  ____/                      http://www.chem.nott.ac.uk/IP.html  |
-------------------------------------------------------------------------+

_________________________________________________ To unsubscribe, send the message "unsubscribe" to xforms-request@bob.usuf2.usuhs.mil or see http://bob.usuf2.usuhs.mil/mailserv/xforms.html Xforms Home Page: http://bragg.phys.uwm.edu/xforms List Archive: http://bob.usuf2.usuhs.mil/mailserv/list-archives/