How to resize one CDockablePane in docking state? [modified] -- (it seems not so HOT as before here.)
-
Question 1: I create one CDockablePane wnd and dock it in the bottom of the parent wnd. But the default CDockablePane height is too short and I want to resize the height of the CDP. But don't find any workable method to do. Btw, if the CDP is docked in the left/right side of the parent wnd, it works well when setting new width. Question 2: Another question is how to make the CDP floating when initialized. The CDP is initially docked in one side when created. But I want to make it floating after it is created in the target position and with a initial size. How to do it ? I feel very hard to control the CDP programmatically, like floating, resizing and moving with MFC. I found one artical from MS website about docking window management programmatically. But it is for C# Winform, not for MFC. Can anyone give help?
modified on Wednesday, June 1, 2011 5:25 AM