axe.win32maxgui version 28 released

BlitzMax Forums/BlitzMax GUI Programming/axe.win32maxgui version 28 released

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.

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):

	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
	EndMethod
Thought I'd post it here until BRL upload the fix to the SVN version!