-
April 9th, 2012, 03:06 AM
#1
[RESOLVED] Convert from C# to VC++2010 -dataGridView?
Hi,
I like to convert the following codes from c# to VC++2010. Any help for me?
Actually the codes for dataGridView - Enter Key process for cursor movement from one cell to another cell [like a tab key...]
public class MyDataGrid : DataGridView
{
protected override bool ProcessDialogKey(Keys keyData)
{
Keys key = keyData & Keys.KeyCode;
if (key == Keys.Enter)
{
base.OnKeyDown(new KeyEventArgs(keyData));
return true;
}
else
{
return base.ProcessDialogKey(keyData);
}
}
}
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|