Hi!
I need help with calling ProcessCmdKey. I'm little bit confused
how to use this method from my app. How to call it, from where?
Can somebody explain to me?
Thnx.
This is the source:
public class MyDataGrid : DataGrid
{
protected override bool ProcessCmdKey(r ef System.Windows. Forms.Message msg, System.Windows. Forms.Keys keyData)
{
if(msg.WParam.T oInt32() == (int) Keys.Enter)
{
SendKeys.Send(" {Tab}");
return true;
}
return base.ProcessCmd Key(ref msg, keyData);
}
}
I need help with calling ProcessCmdKey. I'm little bit confused
how to use this method from my app. How to call it, from where?
Can somebody explain to me?
Thnx.
This is the source:
public class MyDataGrid : DataGrid
{
protected override bool ProcessCmdKey(r ef System.Windows. Forms.Message msg, System.Windows. Forms.Keys keyData)
{
if(msg.WParam.T oInt32() == (int) Keys.Enter)
{
SendKeys.Send(" {Tab}");
return true;
}
return base.ProcessCmd Key(ref msg, keyData);
}
}
Comment