Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Toolbars won't dock properly..
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Toolbars won't dock properly..

 Post Reply Post Reply
Author
Message
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Topic: Toolbars won't dock properly..
    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.
Back to Top
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Posted: 26 September 2011 at 7:55pm
Just upgraded to 15.1.3.0908; same problem.  Really need some advice here.
 
Thanks!
Back to Top
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post 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
 
 
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.063 seconds.