示例#1
0
 public static extern IntPtr SetWindowLong(IntPtr hwnd, int index, MyWndProc my);
示例#2
0
 public MyDataGridView()
 {
     this.Wpr       = new MyWndProc(this.MyControlWndProc);
     this.ldWndProc = SetWindowLong(this.Handle, GWL_WNDPROC, Wpr);
 }
示例#3
0
 public static extern IntPtr SetWindowLong(IntPtr hwnd, int index, MyWndProc my);
示例#4
0
 private static extern IntPtr SetWindowLong(IntPtr hWnd, int nIndex, MyWndProc wndProc);