I have a problem with the dll: My objective is to make a DAT file editor, in which data for a mmorpg will be stored. There is a Treeview, where you can see the Items tree, and should be able to add items, monsters and effects by clicking buttons.
New items should be added to the selected item of the tree, but that only works for the first time. The next times, items are added to the root. :S
Here is the gm6 so you can understand.
Thanks for the help
Already fixed the problem in my dll.
My DLL has his own small system to manage treeview items, because the normal treeview handling is to complicated to use directly in Game Maker.
But the problem was the treeview_expand function had a code in it which changed the status of the treeview item to "Not Used".
That way my selection check function didn't check the selection status of the selected item because it was set to "Not Used".
This was probably caused by copy and paste.
Edited by h0bbel, 05 January 2007 - 09:59 AM.