Dev2.Activities.ModalChecker.ThreadWindows C# (CSharp) Method

ThreadWindows() private static method

private static ThreadWindows ( IntPtr handle ) : bool
handle System.IntPtr
return bool
        private static bool ThreadWindows(IntPtr handle)
        {
            if(IsWindowVisible(handle))
            {
                var length = GetWindowTextLength(handle);
                var caption = new StringBuilder(length + 1);
                GetWindowText(handle, caption, caption.Capacity);
                return true;
            }
            return false;

        }