How can get title of inactive winodws

May 29 2011 2:09 AM


I'm making the application of Google Chrome. In C# I do not know how to get the tab title.

I like the tab to appear under image the title I want to.





but, my code is gets only active tabs title.(another tabs title is displaying nothing)


foreach (Process process in Process.GetProcessesByName("chrome"))
{
   
Console.WriteLine(process.MainWindowTitle);
}


How can get every title of chrome tabs?


Answers (6)