Sizing CSplitterWnd columns
-
Good morning everyone. Here's today question. I have an SDI with the view spilt into 3 columns using CSplitterWnd. I'm trying to set the width of the 1st and 3rd columns to specific widths. Is there a way to explicitly set the width of the 3rd column to a fixed width? I've tried to set width of the 3rd column using m_wndSplit.SetColumnInfo(2, 3RD_COL_WIDTH, 3RD_COL_WIDTH) but it just sets the width to whatever is leftover from columns 1 and 2. Do I have to just get the desired widths of 1 and 3 and set 2 to the remainding width? If so, could someone send me a snippit on the best way to do this. I'm still getting used to proper windows size management. Thanks in advance. Marcus Make no little plans; they have no magic to stir your blood to action. Make big plans, aim high in work and hope -- Daniel Burnham