public extern static IntPtr GetDlgItem(IntPtr hDlg, int nControlID); [DllImport("user32.dll", CharSet=CharSet.Auto)]