Thread: Changing Titel Bar

  1. #1
    Registered User
    Join Date
    Jul 2003

    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?

  2. #2
    yes, I'm registered!!! algi's Avatar
    Join Date
    Nov 2004
    Just put the name of your form and then .Text like this

    WinForm1.Text = "Title changed";
    Just put this in the function where you want the Text to change.
    I started out with nothing and I still have most of it left.

  3. #3
    and the Hat of Clumsiness GanglyLamb's Avatar
    Join Date
    Oct 2002
    between photons and phonons
    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:

    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...

  4. #4
    Registered User
    Join Date
    Jul 2005

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. beach bar (sims type game)
    By DrKillPatient in forum Game Programming
    Replies: 1
    Last Post: 03-06-2006, 01:32 PM
  2. progress bar newbie
    By WaterNut in forum Windows Programming
    Replies: 18
    Last Post: 08-09-2004, 01:42 PM
  3. Changing a single Window's Title Bar Color
    By Jattie in forum Windows Programming
    Replies: 2
    Last Post: 11-05-2002, 12:40 PM
  4. changing the color of the title bar :: MFC
    By Unregistered in forum Windows Programming
    Replies: 3
    Last Post: 06-04-2002, 04:07 PM
  5. Disabling "Ready" & Other Auto Status Bar Updates :: MFC
    By kuphryn in forum C++ Programming
    Replies: 1
    Last Post: 04-03-2002, 08:51 PM