Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Control key currently pressed
Message
 
 
À
13/02/2004 04:03:26
Bruno Maddalozzo
Informatica Aziendale
Arsie, Italie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00877007
Message ID:
00877038
Vues:
14
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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform