void CMy123View::OnMouseDownDatagrid1(short Button, short Shift, long X, long Y) 
{
// TODO: Add your control notification handler code here

}
如题,这几个参数如何利用,希望用MessageBox()给出选中的是哪一行的编号。或者以下vb代码如何转换成vc
Private Sub DataGrid1_MouseDown(Button As Integer, Shift As Integer, X As Single, Y As Single)
DataGrid1.Row = DataGrid1.RowContaining(Y)MsgBox ("你选种的记录号为:" & DataGrid1.Columns(0).Text)End Sub