Print Page | Close Window

Toolbars won't dock properly..

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Toolkit Pro
Forum Description: Topics Related to Codejock Toolkit Pro
URL: http://forum.codejock.com/forum_posts.asp?TID=18940
Printed Date: 18 June 2025 at 9:15pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Toolbars won't dock properly..
Posted By: ddlittle
Subject: Toolbars won't dock properly..
Date Posted: 12 September 2011 at 3:58pm
I just upgraded my app from 13.4.0 to 15.0.2, and for some reason, the toolbars are docked to the view and not the frame.  Dragging them over the frame doesn't work, either.  Any ideas?  If you want to see the previous version, I'll be happy to post it... this is very strange.



Replies:
Posted By: ddlittle
Date Posted: 26 September 2011 at 7:55pm
Just upgraded to 15.1.3.0908; same problem.  Really need some advice here.
 
Thanks!


Posted By: ddlittle
Date Posted: 08 November 2011 at 7:12pm
I finally fixed this problem.  Thought I'd post the solution in case any one else runs into this problem.
 
My app's CMainframe class was derived from another class that was derived (partially) from CXTPBaseWnd() class.  The base class called InitCommandBars(), and the CMainframe class also called InitCommandBars().   The solution, of course, was to only call InitCommandBars() once.
 
Embarrassed
 
 



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