Checked tree in wxpython (windows)

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • geire

    #1

    Checked tree in wxpython (windows)

    I'm trying to make a checked tree based on TreeCtrl. I've subclassed
    the control such that checkmarks appear in the left hand side of the
    treeitems. So far so good. The challenge appears when I programmaly
    want to check the tree items since I don't know the hitem id which I
    should send an update to (using SendMessage). I only get access to a
    proxy of wxTreeItemId and not the hItem id itself. Any ideas of how I
    can get this id?


    Thanks in advance.

  • Franz Steinhaeusler

    #2
    Re: Checked tree in wxpython (windows)

    On 13 Sep 2005 01:16:52 -0700, "geire" <g-evjen@hotmail.c om> wrote:
    [color=blue]
    >I'm trying to make a checked tree based on TreeCtrl.
    >[...][/color]

    Not directly an answer, but:
    there exists already such a CheckTreeCtrl.
    I have uploaded it at:


    HTH
    [color=blue]
    >I've subclassed
    >the control such that checkmarks appear in the left hand side of the
    >treeitems. So far so good. The challenge appears when I programmaly
    >want to check the tree items since I don't know the hitem id which I
    >should send an update to (using SendMessage). I only get access to a
    >proxy of wxTreeItemId and not the hItem id itself. Any ideas of how I
    >can get this id?
    >
    >
    >Thanks in advance.[/color]

    --
    Franz Steinhaeusler

    Comment

    • geire

      #3
      Re: Checked tree in wxpython (windows)

      Fits perfectly to my needs! Thanks. :-)


      Geir Arne

      Comment

      Working...