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. Hi all!

Hi all!

Scheduled Pinned Locked Moved C / C++ / MFC
data-structuresquestion
2 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.
  • D Offline
    D Offline
    Dennis L
    wrote on last edited by
    #1

    Hi All! I'm creating a project and i'd like someone to tell me a way to change multiple controls properties (ie: Enable, Display, Change texts ...) whenever i click on different tree items. Is it ok to use EnumChildWindows? Or is there any other method? Thanks for any reply!

    S 1 Reply Last reply
    0
    • D Dennis L

      Hi All! I'm creating a project and i'd like someone to tell me a way to change multiple controls properties (ie: Enable, Display, Change texts ...) whenever i click on different tree items. Is it ok to use EnumChildWindows? Or is there any other method? Thanks for any reply!

      S Offline
      S Offline
      SandipG
      wrote on last edited by
      #2

      Dennis L wrote:

      Is it ok to use EnumChildWindows?

      It depends on your requirement. If you want to modify less number of controls you can add the control variables for these controls and use them. EnumChildWindows will enumerate all the child controls which might not be efficient if your dialog has huge number of controls and you need to alter only 4-5. BTW: Use some relevant title for your post.. "Hi All" does not relate to your query in anyway.

      Regards, Sandip.

      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