Print Page | Close Window

Problem using a CXTPReBar in a docking pane

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=8819
Printed Date: 12 December 2024 at 3:54pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Problem using a CXTPReBar in a docking pane
Posted By: sbroumley
Subject: Problem using a CXTPReBar in a docking pane
Date Posted: 18 November 2007 at 7:53am
I have an app that's very similar to the MDITabWindow sample app.
I've added a couple of toolbars into one of the views frames which work fine whether the view is docked or floating.
 
The problem is when I add the tool bars to a rebar which I add to my view frame. The tools bars disappear as soon as the window becomes docked or floating.
 
Do I need to a call a function to resize everything after re-parenting the child windows during the dock/undock call? (see CMainFrame::ReparentAllChildren)
 
thanks
 


-------------
Steve Broumley



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net