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. Single Document naming

Single Document naming

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.
  • K Offline
    K Offline
    kin
    wrote on last edited by
    #1

    How do I change the Single Document's name I mean the Caption of the program!

    T S 2 Replies Last reply
    0
    • K kin

      How do I change the Single Document's name I mean the Caption of the program!

      T Offline
      T Offline
      Tim Deveaux
      wrote on last edited by
      #2

      Try CDocument::SetTitle() If you are doing this from the view class, you can call GetDocument()->SetTitle(_T("Whatever"));. (This assumes there _is_ a CDocument attached to the view - better code might check that GetDocument() doesn't return NULL).

      1 Reply Last reply
      0
      • K kin

        How do I change the Single Document's name I mean the Caption of the program!

        S Offline
        S Offline
        Sam Hobbs
        wrote on last edited by
        #3

        http://home.socal.rr.com/samhobbs/VC/ChangeTitle.html

        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