Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Docking panes in CView
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Docking panes in CView

 Post Reply Post Reply
Author
Message
mgampi View Drop Down
Senior Member
Senior Member
Avatar

Joined: 14 July 2003
Status: Offline
Points: 1198
Post Options Post Options   Thanks (0) Thanks(0)   Quote mgampi Quote  Post ReplyReply Direct Link To This Post Topic: Docking panes in CView
    Posted: 28 February 2007 at 5:43pm
Hi;
I'm trying to add docking panes to a CView derived class in my MDI doc/view application. I took the code from DialogPanes and it works, except that I had to call RepositionBars() only when the size of the client rect is greater 0. Otherwise the view content is not shown.
In my case I don't want the panes to be moveable and/or floatable, so I set the option to xtpPaneNoCaption.
 
By now it seems that everything works fine, but I'm not sure.
 
So I'm interrested in any comments about putting docking panes into CViews and whether any problems arise or not.
Martin

Product: Xtreme Toolkit v 19.0.0, new Projects v 19.1.0
Platform: Windows 10 v 1909 (64bit)
Language: VC++ 2017
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.203 seconds.