Can I hide the pane with separator?
Printable View
Can I hide the pane with separator?
Thank you!
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.
Sorry, I couldn't understand what you mean... :confused:
BTW, did you read the comments to this article?
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.