Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Slow repositioning of toolbars
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Slow repositioning of toolbars

 Post Reply Post Reply
Author
Message
Luigi View Drop Down
Newbie
Newbie
Avatar

Joined: 28 July 2008
Location: Italy
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote Luigi Quote  Post ReplyReply Direct Link To This Post Topic: Slow repositioning of toolbars
    Posted: 10 July 2009 at 2:12pm
Hi, I've an MDI application with per view toolbar configuration.

According to the view currently selected, some toolbars are hidden and others are shown. This is achieved by CXTPToolBar::SetVisible( TRUE/FALSE).

The problem arises when I change the view inside the same document. It takes to long to reposition all the toolbars. It seems an animation.

If I change the document (ctrl+tab) the same code is executed but the change is immediate.

What could it be? Is there some kind of defer in the second case?

Thank you in advance.
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.