© 1999-2048 dssz.net 粤ICP备11031372号
[其它] C# SetWindowPos窗口置顶使用说明
说明:代码如下:[DllImport(“user32.dll”, CharSet = CharSet.Auto)] private static extern int SetWindowPos(IntPtr hWnd, int hWndInsertAfter, int x, int y, int Width, int Height, int flags); /// /// 得到当前活动的窗口 /// /// [DllImport(“user32.dll”, CharSet = CharSet.A<weixin_38624975> 上传 | 大小:36kb