Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Updating and changing Title Bar in Application

Updating and changing Title Bar in Application

Scheduled Pinned Locked Moved C / C++ / MFC
c++helptutorialquestionannouncement
3 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    oRion
    wrote on last edited by
    #1

    I have been looking through the threads of in the board.Can't seems to be able to understand how to do it. I need to get rid of the ugly message in the Title bar with "Untitled - myprogram" and update it with my own message. Anyone that can help me on that? Please try to include some lines of codes. I am really very new in VC++ 6.0. :confused::confused: Thanks!:omg:

    J 1 Reply Last reply
    0
    • O oRion

      I have been looking through the threads of in the board.Can't seems to be able to understand how to do it. I need to get rid of the ugly message in the Title bar with "Untitled - myprogram" and update it with my own message. Anyone that can help me on that? Please try to include some lines of codes. I am really very new in VC++ 6.0. :confused::confused: Thanks!:omg:

      J Offline
      J Offline
      jmkhael
      wrote on last edited by
      #2

      Try looking up SetWindowText in ur MSDN, sorry about lines of code, but its nearly: in the MainFrame Class or dialog class u call: SetWindowText ( _T("Ur title") ) ; Papa Murex Co. while (TRUE) Papa.WillLove ( Bebe ) ;

      O 1 Reply Last reply
      0
      • J jmkhael

        Try looking up SetWindowText in ur MSDN, sorry about lines of code, but its nearly: in the MainFrame Class or dialog class u call: SetWindowText ( _T("Ur title") ) ; Papa Murex Co. while (TRUE) Papa.WillLove ( Bebe ) ;

        O Offline
        O Offline
        oRion
        wrote on last edited by
        #3

        Thanks for the information. I was trying a few ways to do it and it's working!! Just curious, is there anyway I could replace the whole line of the title bar. I mean I could replace the Untitled part, but not able to get rid of the program name at the end of the string. :-D

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups