Board index » delphi » Detecting Shift or Ctrl during a drag and drop operation

Detecting Shift or Ctrl during a drag and drop operation

Hello,

How can I detect whether the Ctrl or Shift key is held down during and
drag and drop operation?  The form's onkeydown doesn't seem to respond
during a drag and drop.

TIA

-- luu

 

Re:Detecting Shift or Ctrl during a drag and drop operation


Quote
Luu Tran <luut...@geocities.com> wrote:
>How can I detect whether the Ctrl or Shift key is held down during and
>drag and drop operation?  The form's onkeydown doesn't seem to respond
>during a drag and drop.

GetAsyncKeyState(VK_SHIFT), VK_CONTROL
might be the easiest way.

--
Lucian Wischik, Queens' College, Cambridge CB3 9ET. ljw1...@cam.ac.uk

Other Threads