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. Caption of Dialog

Caption of Dialog

Scheduled Pinned Locked Moved C / C++ / MFC
helpquestion
7 Posts 5 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.
  • T Offline
    T Offline
    Thanhnamdo
    wrote on last edited by
    #1

    I want to change Caption of Dialog from source code . Someone can help me ?

    _ S H 3 Replies Last reply
    0
    • T Thanhnamdo

      I want to change Caption of Dialog from source code . Someone can help me ?

      _ Offline
      _ Offline
      _AnsHUMAN_
      wrote on last edited by
      #2

      ::SetWindowText (m_hWnd ,"Anshuman");

      1 Reply Last reply
      0
      • T Thanhnamdo

        I want to change Caption of Dialog from source code . Someone can help me ?

        S Offline
        S Offline
        see me
        wrote on last edited by
        #3

        Call SetWindowText( "Hiiiiiiii" ); in OnInitDialog()

        Dream bigger... Do bigger...Expect smaller aji

        T 1 Reply Last reply
        0
        • T Thanhnamdo

          I want to change Caption of Dialog from source code . Someone can help me ?

          H Offline
          H Offline
          Hamid Taebi
          wrote on last edited by
          #4

          in the property window you can set Caption for your dialog

          S 1 Reply Last reply
          0
          • H Hamid Taebi

            in the property window you can set Caption for your dialog

            S Offline
            S Offline
            see me
            wrote on last edited by
            #5

            WhiteSky wrote:

            in the property window you can set Caption for your dialog

            But he wants to change Caption of Dialog from source code :)

            Dream bigger... Do bigger...Expect smaller aji

            H 1 Reply Last reply
            0
            • S see me

              WhiteSky wrote:

              in the property window you can set Caption for your dialog

              But he wants to change Caption of Dialog from source code :)

              Dream bigger... Do bigger...Expect smaller aji

              H Offline
              H Offline
              Hamid Taebi
              wrote on last edited by
              #6

              its not problem So SetWindowText(...)

              1 Reply Last reply
              0
              • S see me

                Call SetWindowText( "Hiiiiiiii" ); in OnInitDialog()

                Dream bigger... Do bigger...Expect smaller aji

                T Offline
                T Offline
                ThatsAlok
                wrote on last edited by
                #7

                see me wrote:

                n OnInitDialog()

                some thing special about OnInitDialog!

                "Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow

                cheers, Alok Gupta VC Forum Q&A :- I/ IV Support CRY- Child Relief and You

                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