[MaxGUI] How to swap TreeView-Nodes

BlitzMax Forums/BlitzMax Beginners Area/[MaxGUI] How to swap TreeView-Nodes

The forum is locked. These are the original blitzbasic.com forums, kept so they can still be read. No new topics, replies or edits can be made here. To join in, head over to the Blitz3D+ forums.

This treeview really gives me a hard time. I "just" want to swap two nodes inside a treeview. I thought of removing node N1 and inserting it before/after N2. Sounds like a good idea, but my next problem: How to get the index of node (InsertNode needs this as parameter)?

If there were methods to work nicely with treeviews...

It could be the bloody hot weather, but my brain feels cooked.