CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 6 of 6
  1. #1
    Join Date
    Oct 2010
    Location
    Russia
    Posts
    69

    CSplitter. Hide pane.

    Can I hide the pane with separator?
    Last edited by user008; November 4th, 2010 at 12:04 PM.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

  3. #3
    Join Date
    Oct 2010
    Location
    Russia
    Posts
    69

    Re: CSplitter. Hide pane.

    Thank you!

  4. #4
    Join Date
    Oct 2010
    Location
    Russia
    Posts
    69

    Re: CSplitter. Hide pane.

    I launched the second example. It works but FrameWnd resizing becomes incorrectly working. Right and bottom of FrameWnd are hided under gray brush.
    There is enough for me to launche the pane hiding ones in the begining of the work with document. But in the CreateClient the GetActiveDocument is NULL.

  5. #5
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Hanover Germany
    Posts
    20,430

    Re: CSplitter. Hide pane.

    Sorry, I couldn't understand what you mean...
    BTW, did you read the comments to this article?
    Victor Nijegorodov

  6. #6
    Join Date
    Oct 2010
    Location
    Russia
    Posts
    69

    Re: CSplitter. Hide pane.

    Comments did not helped.
    The problem is the position of drawing region does not change. When I encrease the size of FrameWnd the new client area which beyond the old client does not painting .
    Maybe my problem can be solved easily. I do not need to hide/show panes in runtime. There is enough to hide some panes when panes are creating. There is depends of some document values what the panes I need to hide. But GetActiveDocument return NULL in CreateClient.
    Last edited by user008; November 4th, 2010 at 02:46 PM.

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