예제 #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);
 }