CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3
  1. #1
    Guest

    UnResizable Splitter

    Hi !

    Can anybody approve me, how I can create a non-resizable spliter in the SDI.

    Thanks.
    -Wladi.


  2. #2
    Join Date
    May 1999
    Posts
    116

    Re: UnResizable Splitter

    Derive a class from CSplitterWnd and catch the following messages:
    WM_LBUTTONDOWN
    WM_LBUTTONUP
    WM_LBUTTONDBLCLICK
    WM_MOUSEMOVE
    In each case return the CWnd handler instead of the CSplitterWnd handler. E.g.:
    void CFixedSplitter::OnLButtonDblClk(UINT nFlags, CPoint point)
    {
    CWnd::OnLButtonDblClk(nFlags, point);
    }





  3. #3
    Guest

    Re: UnResizable Splitter

    There is an article on this in this web site. http://www.codeguru.com/splitter/restrict_size.shtml


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured