Announcement

Collapse
No announcement yet.

VirtualStringTree

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • VirtualStringTree

    Hallo

    ich möchte das man in dem VirtualStringTree die Childs mit CheckBoxen selectieren kann, wie kann man das realisieren?

    Hier mal ein Code Ausschnitt wie ich VirtualStringTree initialisiere:

    <PRE>
    aSize = sizeof(aCommComponente) / sizeof(String);
    node = VirtualStringTree1->AddChild(NULL, NULL);
    data = (CComponentData*)VirtualStringTree1->GetNodeData(node);
    data->sComponent = "Kommunikation";
    for (count = 0; count < aSize; count++)
    {
    child = VirtualStringTree1->AddChild(node, NULL);
    data = (CComponentData*)VirtualStringTree1->GetNodeData(child);
    data->sComponent = aCommComponente[count];
    //data->bComponent = false;
    }</PRE>

    mfg tobias

  • #2
    Hallo

    habs gefunden

    child->CheckType = ctCheckBox;

    mfg tobia

    Comment

    Working...
    X