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. Changing Treeview control apperance

Changing Treeview control apperance

Scheduled Pinned Locked Moved C / C++ / MFC
c++data-structuresquestion
4 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.
  • U Offline
    U Offline
    User 7827764
    wrote on last edited by
    #1

    Hi, I am trying to change the tree view control's appearance using vc++. Initially it has + and - minus symbol when expanding and vice verse. Now i want to change the + and - symbol to arrow mark. To bring the + and - minus symbol we can use the following default functionality m_dwDefaultStyle |= TVS_HASBUTTONS | TVS_HASLINES | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS; Is it possible to change + and - symbol to arrow symbol using vc++? Thanks, Devika.

    _ 1 Reply Last reply
    0
    • U User 7827764

      Hi, I am trying to change the tree view control's appearance using vc++. Initially it has + and - minus symbol when expanding and vice verse. Now i want to change the + and - symbol to arrow mark. To bring the + and - minus symbol we can use the following default functionality m_dwDefaultStyle |= TVS_HASBUTTONS | TVS_HASLINES | TVS_DISABLEDRAGDROP | TVS_SHOWSELALWAYS; Is it possible to change + and - symbol to arrow symbol using vc++? Thanks, Devika.

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

      See Full-Featured Tree Control[^]

      You talk about Being HUMAN. I have it in my name AnsHUMAN

      U 1 Reply Last reply
      0
      • _ _AnsHUMAN_

        See Full-Featured Tree Control[^]

        You talk about Being HUMAN. I have it in my name AnsHUMAN

        U Offline
        U Offline
        User 7827764
        wrote on last edited by
        #3

        car . . I want to change the arrow mark symbol instead that [+] and [-] Please help me out on this Thanks, Devika

        L 1 Reply Last reply
        0
        • U User 7827764

          car . . I want to change the arrow mark symbol instead that [+] and [-] Please help me out on this Thanks, Devika

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

          The only way you could do this would be either by using the owner draw feature, or by subclassing the control and adding your own code to handle the expand symbols.

          Use the best guess

          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