Question
TreeViewWidgetMgr - ApplyDataToWidget - Setting widget state
Hi list,
I have a TreeView with a custom node and custom widgets(checkbox and static text) in that node.
I want to change the state of the checkbox and set it enabled or disabled based on some criteria.
I do this in CTreeViewWidgetMgr in the ApplyDataToWidget routine but have regular crashes.
My question is: is this the right place to do this or do i need to change widget states in another place?
Thanks a lot in advance!
Florian.
I have a TreeView with a custom node and custom widgets(checkbox and static text) in that node.
I want to change the state of the checkbox and set it enabled or disabled based on some criteria.
I do this in CTreeViewWidgetMgr in the ApplyDataToWidget routine but have regular crashes.
My question is: is this the right place to do this or do i need to change widget states in another place?
Thanks a lot in advance!
Florian.