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--