public CopiedWindow(WindowData windowData, string window, WindowData mainData, string mainWindow) { this.title = windowData == null ? "[live display]" : windowData.Name; this.window = window; this.mainWindow = mainWindow; this.windowData = windowData; this.mainData = mainData; }
internal static IList <TreeNodeData> GetThreadsOrBelow(WindowCache wc, MainForm mf, Process parent, bool visibleOnly) { if (mf.DisplayThreads) { return(GetThreads(wc, mf, parent, visibleOnly)); } else { return(WindowData.GetWindowsOrBelow(wc, mf, parent, null, visibleOnly)); } }
private void UpdateProperties(SystemWindow sw) { if (!delayedUpdate.Checked && (sw.HWnd == windowProperties.Handle || sw.HWnd == parentProperties.Handle)) { windowProperties.Text = "(recursive)"; parentProperties.Text = "(recursive)"; } delayedProperties = getWindowProperties(sw); windowData = new WindowData(mf, sw); SystemWindow swParent = sw.ParentSymmetric; while (swParent != null) { sw = swParent; swParent = sw.ParentSymmetric; } delayedMainProperties = getWindowProperties(sw); parentData = new WindowData(mf, sw); if (!delayedUpdate.Checked) { windowProperties.Text = delayedProperties; parentProperties.Text = delayedMainProperties; } }
internal override IList <TreeNodeData> GetChildren(WindowCache wc, bool visibleOnly) { return(WindowData.GetWindowsOrBelow(wc, mf, process, thread, visibleOnly)); }
internal override bool HasChildren(WindowCache wc, bool visibleOnly) { return(WindowData.HasWindowsOrBelow(wc, mf, process, thread, visibleOnly)); }