code_junkie

MFC: Showing / Hiding Splitter Panes

Nov 11th, 2011
71
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.25 KB | None | 0 0
  1. CWnd * pCurView = m_wndSplitter2.GetPane(2, 0);
  2. if( !pCurView == NULL )
  3. {
  4. if( fShow )
  5. {
  6. pCurView->ShowWindow(SW_SHOW);
  7. RecalcLayout();
  8. }
  9. else
  10. {
  11. pCurView->ShowWindow(SW_HIDE);
  12. RecalcLayout();
  13. }
  14. }
Add Comment
Please, Sign In to add comment