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. Which control should I use?

Which control should I use?

Scheduled Pinned Locked Moved C / C++ / MFC
graphicsadobedata-structuresquestion
5 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
    Vikash Dubey 0
    wrote on last edited by
    #1

    I wanted to implement a tree like structure similar to the layers control in Photoshop. I am unable to decide which control should I subclass and use for this purpose. Tree control i dont think will be useful for such a task. How about subclassing a Listbox and drawing all the things on my own. Comments please. Vicky

    G L 2 Replies Last reply
    0
    • V Vikash Dubey 0

      I wanted to implement a tree like structure similar to the layers control in Photoshop. I am unable to decide which control should I subclass and use for this purpose. Tree control i dont think will be useful for such a task. How about subclassing a Listbox and drawing all the things on my own. Comments please. Vicky

      G Offline
      G Offline
      G Haranadh
      wrote on last edited by
      #2

      I think the SSTab or Tab Control is like the layer control in the photo shop. Is that you are looking? Or what do you mean by layers control? Nice talking to you. :-O

      V 1 Reply Last reply
      0
      • G G Haranadh

        I think the SSTab or Tab Control is like the layer control in the photo shop. Is that you are looking? Or what do you mean by layers control? Nice talking to you. :-O

        V Offline
        V Offline
        Vikash Dubey 0
        wrote on last edited by
        #3

        I wanted information about the controls inside the tab which displays the layers and thumbnails.

        G 1 Reply Last reply
        0
        • V Vikash Dubey 0

          I wanted information about the controls inside the tab which displays the layers and thumbnails.

          G Offline
          G Offline
          G Haranadh
          wrote on last edited by
          #4

          I could give one idea. But any way you are going to implementing that. So do like which you feel happy. I think tool bar is good for that. In a tool bar if we add some check buttons we can get that environment (I think). But may not exactly like that. Or else if we need same exactly like photo shop Layers control, then I prefer we should prepare one activex control which will have two check button options and which can hold one picture and one lable. and it should have the respective events implimented. those controls need to be added to that tool bar. If you show the tool bar in vertical then the look will be same. Am I correct? Thanks. Have a nice day. :) Nice talking to you. :-O

          1 Reply Last reply
          0
          • V Vikash Dubey 0

            I wanted to implement a tree like structure similar to the layers control in Photoshop. I am unable to decide which control should I subclass and use for this purpose. Tree control i dont think will be useful for such a task. How about subclassing a Listbox and drawing all the things on my own. Comments please. Vicky

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

            If I understood you correctly then this listbox[^] should be useful to you. At least you could add some additional functionalities that you need to this control by yourself.


            "Success is the ability to go from one failure to another with no loss of enthusiasm." - W.Churchill

            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