public LyncWindow(IntPtr hWnd) { this.hWnd = hWnd; var wd = new WWADOMHelper(); var windows = wd.GetTexts(hWnd); foreach (var x in windows) { Trace.WriteLine("IE Window in Lync: " + x); } }
public WWAApp(IntPtr hWnd) { this.hWnd = hWnd; Profiles = new List <Profile>(); AppDocument = WWADOMHelper.GetDocumentForWindow(hWnd) as HTMLDocument; }