# To subscribers of the xforms list from Dianna Xu <xuy@gradient.cis.upenn.edu> :
The way I've been doing it is to register a separate callback with
mask KeyPress, check for modifier keys there and set appropriate flags.
If you are interested in KeyRelease also, you need to register a raw callback.
Hope this helps.
-Di
Michal Szymanski wrote:
>
># To subscribers of the xforms list from Michal Szymanski <msz@astrouw.edu.pl> :
>
>Hi,
>
>Is it possible to check in the button's callback whether it was pushed
>with any modifier key (Shift, Alt etc.) or not?
>fl_get_button_numb() gives only the mouse button number.
>
>regards, Michal.
>
>--
> Michal Szymanski (msz@astrouw.edu.pl)
> Warsaw University Observatory, Warszawa, POLAND
>_________________________________________________
>To unsubscribe, send the message "unsubscribe" to
>xforms-request@bob.usuhs.mil or see
>http://bob.usuhs.mil/mailserv/xforms.html
>XForms Home Page: http://world.std.com/~xforms
>List Archive: http://bob.usuhs.mil/mailserv/list-archives/
>
_________________________________________________
To unsubscribe, send the message "unsubscribe" to
xforms-request@bob.usuhs.mil or see
http://bob.usuhs.mil/mailserv/xforms.html
XForms Home Page: http://world.std.com/~xforms
List Archive: http://bob.usuhs.mil/mailserv/list-archives/
This archive was generated by hypermail 2b29 : Wed Jun 27 2001 - 09:16:50 EDT