コード例 #1
0
 /// <summary>
 /// Sets the focus to this window and brings it to the foreground.
 /// </summary>
 public void SwitchTo()
 {
     // This function is deprecated, so should probably be replaced.
     WinApi.SwitchToThisWindow(HWnd, true);
 }
コード例 #2
0
        public void SwitchToLastVisibleActivePopup()
        {
            var lastActiveVisiblePopup = GetLastActiveVisiblePopup();

            WinApi.SwitchToThisWindow(lastActiveVisiblePopup, true);
        }
コード例 #3
0
 private bool HasITaskListDeletedProperty()
 {
     return(WinApi.GetProp(HWnd, "ITaskList_Deleted") != IntPtr.Zero);
 }