[DllImport("user32.dll ", EntryPoint = "GetDlgItem")]
public static extern IntPtr GetDlgItem(IntPtr hParent, int nIDParentItem);
IntPtr curr_hWnd;
curr_hWnd = GetDlgItem(IntPtr.Zero, 0x00002EE5);
curr_hWnd得值為0,應該怎麼做?多謝大俠
使用GetHandle函數,也是Win32API函數