110,536
社区成员
发帖
与我相关
我的任务
分享
[DllImport("user32.dll", CharSet=CharSet.Auto, ExactSpelling=true)]
public static extern IntPtr GetActiveWindow();
private IntPtr getwindow()
{
IntPtr activeWindow = GetActiveWindow();
return activeWindow;
}
[DllImport("user32.dll", CharSet=CharSet.Auto, ExactSpelling=true)]
public static extern IntPtr GetActiveWindow();