Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - Problem using a CXTPReBar in a docking pane
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem using a CXTPReBar in a docking pane

 Post Reply Post Reply
Author
Message
sbroumley View Drop Down
Newbie
Newbie


Joined: 18 November 2007
Location: United States
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote sbroumley Quote  Post ReplyReply Direct Link To This Post Topic: Problem using a CXTPReBar in a docking pane
    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
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.125 seconds.