|
-
November 4th, 2010, 11:30 AM
#1
CSplitter. Hide pane.
Can I hide the pane with separator?
Last edited by user008; November 4th, 2010 at 12:04 PM.
-
November 4th, 2010, 12:16 PM
#2
Re: CSplitter. Hide pane.
Victor Nijegorodov
-
November 4th, 2010, 01:24 PM
#3
Re: CSplitter. Hide pane.
-
November 4th, 2010, 02:08 PM
#4
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.
-
November 4th, 2010, 02:12 PM
#5
Re: CSplitter. Hide pane.
Sorry, I couldn't understand what you mean... 
BTW, did you read the comments to this article?
Victor Nijegorodov
-
November 4th, 2010, 02:36 PM
#6
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
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|