RE: Query Ctrl or Shift keys only?
-----Original Message----- From: Andreas Thiele [mailto:andreas@atp-media.de] Sent: Tuesday, November 18, 2008 10:04 AM To: 'Martin Simmons' Subject: RE: Query Ctrl or Shift keys only? > -----Original Message----- > From: owner-lisp-hug@lispworks.com > [mailto:owner-lisp-hug@lispworks.com] On Behalf Of Martin Simmons > Sent: Monday, November 17, 2008 3:15 PM > To: lisp-hug@lispworks.com > Subject: Re: Query Ctrl or Shift keys only? > > > > >>>>> On Thu, 13 Nov 2008 12:07:58 +0100, Andreas Thiele said: > > > > Hi All, > > > > after playing with gesture-specs I do not succeed to query > the control > > or shift keys unless another meaningful key is pressed. > > > > Is it possible to know if the shift or control key is down > (or up) in > > LispWorks? > > > > Any hint or hack welcome. > > The win32 API approach will work, though it uses undocumented > APIs in LispWorks so is closer to hack than hint :-) > > In what situations do you need to find the state of control or shift? > > -- > Martin Simmons > LispWorks Ltd > http://www.lispworks.com/ > Hi Martin, thanks, I need it when drag and drop just startet to decise whether the user wants a copy or move operation. Andreas