Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Clearing a SysTreeView32 dialog control
#1
I am in need to clear a SysTreeView32 control in a dialog. I experienced that I can do it using statement :

Quote: SendMessage htv TVM_DELETEITEM TVE_EXPAND 0

where htv the dialog control

I wonder whether this is correct or whether there exists another way to do it.

Many thanks in advance.
#2
TVM_DELETEITEM with wParam=0 and lParam=0 deletes all items.


Forum Jump:


Users browsing this thread: 1 Guest(s)