Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control key currently pressed
Message
 
 
To
13/02/2004 04:03:26
Bruno Maddalozzo
Informatica Aziendale
Arsie, Italy
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00877007
Message ID:
00877038
Views:
16
This message has been marked as the solution to the initial question of the thread.
Bruno,

You can use Windows API function GetKeyState. See Re: Grid control's MouseWheel event problem Message #852808

>I wrote a program with wich, in a grid, I can drag & drop a cell so as to move the text contained form that cell (origin) to another one (destination).
>I' ve now the need to test the Control_key being pressed when the drop event occurs, so as to perform a copy of the origin cell. Users should be able to press the Control_Key during the dragging phase (non necessarily at the beginning of the drag operation). That is, the same behaviour we have with text editors.
>How can I reach the result?
>TIA.
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform