I have a form that looks a lot like Windows Explorer. On the left side I have a tree view control and on the right a regular panel. I want to have the ability to double click the splitter view to resize based on the width of the longest label in the tree view. Does anyone know of a good way of doing so?
My guess is that I would check each node and try to determine the length of each string. And then take that number and include any additional padding or margins. Regards.