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. How to update dialog title when a value is changed in a child window?

How to update dialog title when a value is changed in a child window?

Scheduled Pinned Locked Moved C / C++ / MFC
questiontutorialannouncement
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.
  • E Offline
    E Offline
    ElizabethC
    wrote on last edited by
    #1

    How can I updat the dialog title with the employee name when a new employee is selectd from a list control? This list control is in a tab control property sheet. Elizabeth

    D B 2 Replies Last reply
    0
    • E ElizabethC

      How can I updat the dialog title with the employee name when a new employee is selectd from a list control? This list control is in a tab control property sheet. Elizabeth

      D Offline
      D Offline
      David Crow
      wrote on last edited by
      #2

      SetWindowText(hDlg, ...);


      Five birds are sitting on a fence. Three of them decide to fly off. How many are left?

      1 Reply Last reply
      0
      • E ElizabethC

        How can I updat the dialog title with the employee name when a new employee is selectd from a list control? This list control is in a tab control property sheet. Elizabeth

        B Offline
        B Offline
        Blake Miller
        wrote on last edited by
        #3

        The list control's parent window is the dialog representing the tab. The parent of the 'tab' is the property sheet. Get the parent of the parent of the control and set its window text. Seting the window text of a dialog changes the dialog's title. The memories of a man in his old age are the deeds of a man in his prime.

        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