For some reason, there is a line missing in TWindowTreeNode.SetText() (win32maxguiex.bmx) which was rendering the method useless.
You may want to replace it with the following so that tree-view nodes can be modified (including the debug tree in the IDE):
You may want to replace it with the following so that tree-view nodes can be modified (including the debug tree in the IDE):
Method SetText(text$) Local tv:TVITEMW=New TVITEMW tv.mask=TVIF_HANDLE|TVIF_TEXT <b>tv.hItem = _item</b> If _icon > -1 Then tv.mask:|TVIF_IMAGE|TVIF_SELECTEDIMAGE tv.iImage=ValidateIcon(_icon) tv.iSelectedImage=ValidateIcon(_icon) EndIf tv.pszText=text.ToWString() SendMessageW(_tree,TVM_SETITEMW,0,Int Byte Ptr tv) MemFree tv.pszText EndMethodThought I'd post it here until BRL upload the fix to the SVN version!