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. A urgency question

A urgency question

Scheduled Pinned Locked Moved C / C++ / MFC
tutorialquestion
7 Posts 4 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.
  • J Offline
    J Offline
    jieg
    wrote on last edited by
    #1

    how to make a Item in CTreeCtrl invisible. Thank you! X|

    C P N 3 Replies Last reply
    0
    • J jieg

      how to make a Item in CTreeCtrl invisible. Thank you! X|

      C Offline
      C Offline
      Chris Hafey
      wrote on last edited by
      #2

      Delete it or create your own tree control.

      P 1 Reply Last reply
      0
      • J jieg

        how to make a Item in CTreeCtrl invisible. Thank you! X|

        P Offline
        P Offline
        pnpfriend
        wrote on last edited by
        #3

        since you are using ctreectrl let me please ask one question do you know what is wrong in the following code? i mean.. i'm trying to sort the files by name, by type,by size, or by date (based on user choice). so i have to use SortChildrenCB() instead of SortChildren(). but the callback function is never got excuted. do u know why?

        1 Reply Last reply
        0
        • C Chris Hafey

          Delete it or create your own tree control.

          P Offline
          P Offline
          pnpfriend
          wrote on last edited by
          #4

          since you know about ctreectrl let me please ask one question do you know what is wrong in the following code? i mean.. i'm trying to sort the files by name, by type,by size, or by date (based on user choice). so i have to use SortChildrenCB() instead of SortChildren(). but the callback function is never got excuted. do u know why?

          1 Reply Last reply
          0
          • J jieg

            how to make a Item in CTreeCtrl invisible. Thank you! X|

            N Offline
            N Offline
            Neville Franks
            wrote on last edited by
            #5

            ShowWindow( SW_HIDE ) should workk. Neville Franks, Author of ED for Windows. www.getsoft.com

            J 1 Reply Last reply
            0
            • N Neville Franks

              ShowWindow( SW_HIDE ) should workk. Neville Franks, Author of ED for Windows. www.getsoft.com

              J Offline
              J Offline
              jieg
              wrote on last edited by
              #6

              NO,i want invisible a one Item,no a whole Windows.

              N 1 Reply Last reply
              0
              • J jieg

                NO,i want invisible a one Item,no a whole Windows.

                N Offline
                N Offline
                Neville Franks
                wrote on last edited by
                #7

                jieg wrote: NO,i want invisible a one Item,no a whole Windows. You could overide the on item draw notification and draw something to indicate the item isn't available. Other than that I don't think this is possible. You either need to remove the item from the tree control or possibly write your own tree control. Neville Franks, Author of ED for Windows. www.getsoft.com

                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