コード例 #1
0
 protected bool IsHwndSelectable(HwndObject hwndObj)
 {
     // neither the owner of a window nor the dimension of a 0x0 would change during its lifetime
     if (hwndObj.GetOwner().Hwnd.ToInt32() != 0 || hwndObj.Rect.Width == 0 || hwndObj.Rect.Height == 0)
     {
         return(false);
     }
     hwndObj.ResetInfo();
     return(hwndObj.Info.IsVisible());
 }