View control width
Posted on 1997-07-13
I am implementing an Explorer type interface using the MFC CSplitterWnd class as a static splitter. The left pane is a CTreeView and the right pane is a CListView. After adding a couple of nodes to the tree control, I want to resize the pane to show all the nodes. I know I can set the splitter pane width using the SetColumnInfo function, but I can't figure out how to get the width of the tree control that the CTreeView wraps.