Well I can detect tree view drag events:
case TVN_BEGINDRAG:
MessageBox(0,"Tree View Drag Event","Tree View Drag Event",MB_OK);
Only problem so far is when I drag a treeview item, BlitzMax automatically selects the last selected node, not the one I am dragging. How can I change this?
Right now I am trying to make Windows select the treeviewnode when a drag operation starts:
From win32treeview.cpp:
Judging from the results of the other tree events, it doesn't look like treeview events in maxgui actually return the treeview node gadget they should.
case TVN_BEGINDRAG:
MessageBox(0,"Tree View Drag Event","Tree View Drag Event",MB_OK);
Only problem so far is when I drag a treeview item, BlitzMax automatically selects the last selected node, not the one I am dragging. How can I change this?
Right now I am trying to make Windows select the treeviewnode when a drag operation starts:
From win32treeview.cpp:
case TVN_BEGINDRAG: //MessageBox(0,"Tree View Drag Event","Tree View Drag Event",MB_OK); _selected=(Win32TreeViewNode*)nm->itemNew.lParam; SendMessage(_gadget.hwnd(),TVM_SELECTITEM,TVGN_CARET,(int)_selected); emit( 690,(int)_selected ); break;
Judging from the results of the other tree events, it doesn't look like treeview events in maxgui actually return the treeview node gadget they should.