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
CODE PROJECT For Those Who Code
  • Home
  • Articles
  • FAQ
Community
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. When click on item in tree control corresponding item in list control should get selected.

When click on item in tree control corresponding item in list control should get selected.

Scheduled Pinned Locked Moved C / C++ / MFC
questiondata-structures
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.
  • V Offline
    V Offline
    VCProgrammer
    wrote on last edited by
    #1

    Hi all, I have made a dialog based application, and in that application i have a tree as well as list control. What i want is, when i click on a item in tree control my corresponding item in List control should get its font bold or should change its text colour. I was trying to do it using customcontrol method but its not working. how can i do this???

    L _ 2 Replies Last reply
    0
    • V VCProgrammer

      Hi all, I have made a dialog based application, and in that application i have a tree as well as list control. What i want is, when i click on a item in tree control my corresponding item in List control should get its font bold or should change its text colour. I was trying to do it using customcontrol method but its not working. how can i do this???

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      VCProgrammer wrote:

      I was trying to do it using customcontrol method but its not working.

      Since we cannot see your code it's impossible to suggest what you may be doing wrong. Try editing your question and adding the code (within <pre> tags) that you are having trouble with.

      Unrequited desire is character building. OriginalGriff I'm sitting here giving you a standing ovation - Len Goodman

      1 Reply Last reply
      0
      • V VCProgrammer

        Hi all, I have made a dialog based application, and in that application i have a tree as well as list control. What i want is, when i click on a item in tree control my corresponding item in List control should get its font bold or should change its text colour. I was trying to do it using customcontrol method but its not working. how can i do this???

        _ Offline
        _ Offline
        _Superman_
        wrote on last edited by
        #3

        You may take a look at the following article to see how to create such list controls - Neat Stuff to Do in List Controls Using Custom Draw[^]

        «_Superman_»  _I love work. It gives me something to do between weekends.

        _Microsoft MVP (Visual C++)

        Polymorphism in C

        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