Print Page | Close Window

Slow repositioning of toolbars

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=14722
Printed Date: 29 April 2024 at 11:13am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Slow repositioning of toolbars
Posted By: Luigi
Subject: Slow repositioning of toolbars
Date 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.



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