Minimum pane size in a CSplitterWnd
C / C++ / MFC
1
Posts
1
Posters
1
Views
1
Watching
-
Hello all, I am using a CSplitterWnd. I would like to prevent the user from dragging the splitter any closer than a certain distance from the edge of the window. I found that CSplitterWnd::SetRowInfo() and CSplitterWnd::SetColInfo() allow you to set a "minimum" size. However, it's not the case that the user can't drag the splitter past this minimum. It's just that if he does so drag the splitter, the window size will become 0. Is there a way to do what I wish and pysically disallow the splitter to move past a certain point? Thanks, Jitendra