#region --設置指定窗口名稱為隱藏 // 獲取查找窗體句柄(通過窗體標題名) //通過句柄設置當前窗體最大化(0:隱藏窗體,1:默認窗體,2:最小化窗體,3:最大化窗體,....) IntPtr mainHandle = FindWindow(null, "屏幕鍵盤"); bool result1 = ShowWindowAsync(mainHandle, 0); //win10 64 失效 #endregion
#region --設置指定窗口名稱為隱藏 // 獲取查找窗體句柄(通過窗體標題名) //通過句柄設置當前窗體最大化(0:隱藏窗體,1:默認窗體,2:最小化窗體,3:最大化窗體,....) IntPtr mainHandle = FindWindow(null, "屏幕鍵盤"); bool result1 = ShowWindowAsync(mainHandle, 0); //win10 64 失效 #endregion
本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。