Just came across a bug that took me about 2 hours to figure out.
The reason for this is (2). Instead of calling SetRoot(mygelisthead->GetFirst()...). I should have just passed in the GeListHead.
Then for (3) I should have returned the First element: GeListHead op = (GeListHead)root; return op->GetFirst();
With these changes it works, but that took a while to figure out.
I'm not quite sure, if there's a question left in here?
From what I understand, we probably need to improve the TreeView documentation. But there's no bug involved on our side, right?
There is no question here. Just a bug report and a warning/info to other users if they get C4D locking up when using a treeview.