I have a main form that contains a custom user control that contains a treelist. This custom treelist has a dockManager property that is a reference to the main form's dockManager.
Each treelist node populates it's Tag property with a reference to an individual toolwindow. When I click on the node, what should happen is the toolWindow gets activated similar to what happens in a Window menu's Window List. My Window List works fine but not the treenode and it's similar code.
If the window is docked and I click the node, the tool window doesn't get highlighted. I double check my Windows list and it's menu item isn't checked.
However, if I undock the window and click the node, the tool window is brought to the front but not active.
Is there something special I need to do?
Each treelist node populates it's Tag property with a reference to an individual toolwindow. When I click on the node, what should happen is the toolWindow gets activated similar to what happens in a Window menu's Window List. My Window List works fine but not the treenode and it's similar code.
If the window is docked and I click the node, the tool window doesn't get highlighted. I double check my Windows list and it's menu item isn't checked.
However, if I undock the window and click the node, the tool window is brought to the front but not active.
Is there something special I need to do?