rhinocommon icon indicating copy to clipboard operation
rhinocommon copied to clipboard

Rhino.UI.KeyboardCallback

Open MoeGreen opened this issue 12 years ago • 2 comments

It will be great! I prefer Rhino app takes care about that instead of Windows API. ;)

MoeGreen avatar Mar 24 '12 10:03 MoeGreen

Moe, could you elaborate on what it is that you want? Maybe some sample pseudocode of functions.

sbaer avatar Oct 09 '12 18:10 sbaer

Moe, I found this thread when looking for something to detect if control key is pressed after a GetObject operation. So in case it helps your problem this is what I ended up using:

using System.Windows.Forms;

if ((Control.ModifierKeys & Keys.Control) == Keys.Control)
{
    //do stuff
}

tmakin avatar Oct 16 '12 14:10 tmakin