|
-
August 5th, 2011, 04:37 PM
#1
CDockablePane questions
I'm rebuilding a MFC MDI application with the new extended classes (CMDIFrameWndEx, etc) in Visual Studio 2010. All OK except for some CDialogBars that I have some trouble regarging keeping same behaviour when using panes instead.
1. How to disable or prevent resizing of a CDockablePane?
I have tried various approaches without any luck...
- Create with dwControlBarStyle excluding AFX_CBRS_RESIZE
- Create with dwStyle including CBRS_SIZE_FIXED
- SetResizeMode RESIZE_NO
- Overriding OnSize
2. How to enable docking of CMFCToolBars along the side of the pane?
This was working with CDialogBar and CToolBar, but I couldn't find how to do it with the new pane classes and CMFCToolBar.
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
|