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
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Window Title.

Window Title.

Scheduled Pinned Locked Moved C / C++ / MFC
question
3 Posts 3 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.
  • J Offline
    J Offline
    John Uhlenbrock
    wrote on last edited by
    #1

    I have an sdi app, that has no document. I probably could have created my app as dialog based. Anyway, my app is just about finished (so I don't want to go back and make it dialog based) and my window title always says "Untitled - [my app name]". How can I get rid of the "Untitled". Thanks, John.

    C K 2 Replies Last reply
    0
    • J John Uhlenbrock

      I have an sdi app, that has no document. I probably could have created my app as dialog based. Anyway, my app is just about finished (so I don't want to go back and make it dialog based) and my window title always says "Untitled - [my app name]". How can I get rid of the "Untitled". Thanks, John.

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      Add this to PrecreateWindow in Mainframe cs.style &= ~(LONG) FWS_ADDTOTITLE; Christian As I learn the innermost secrets of the around me, they reward me in many ways to keep quiet. Men with pierced ears are better prepared for marriage. They've experienced pain and bought Jewellery.

      1 Reply Last reply
      0
      • J John Uhlenbrock

        I have an sdi app, that has no document. I probably could have created my app as dialog based. Anyway, my app is just about finished (so I don't want to go back and make it dialog based) and my window title always says "Untitled - [my app name]". How can I get rid of the "Untitled". Thanks, John.

        K Offline
        K Offline
        k Andreas Hoheisel
        wrote on last edited by
        #3

        Use the api SetWindowText(..)

        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