-
Changing Titel Bar
Hi, You see the top window, the blue bar that says "C Board - Post New Thread - Microsoft Internet Explorer" its blue on my windows version, but I think its called the Titel bar.
How do I change that in C#? Like I want to write a program that accesses that and sets the Titel to what I need. So is there a function that can change that?
-
Just put the name of your form and then .Text like this
Code:
WinForm1.Text = "Title changed";
Just put this in the function where you want the Text to change.
-
I think he is talking about a IE window...
You can acces any window that is open by using the process class, although you cannot change the title from the window from there on. I havenīt seen any property - that can be set as well by doing:
Code:
using SHDocVw;
private SHDocVw.InternetExplorerClass foo = new SHDocVw.InternetExplorerClass();
private SHDocVw.WebBrowserClass bar = new SHDocVw.WebBrowserClass();
The title property is not to be changed i guess...
-