Print Page | Close Window

Multilanguage-CommandBar Problem

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=1053
Printed Date: 12 June 2024 at 4:31am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Multilanguage-CommandBar Problem
Posted By: Kenneth
Subject: Multilanguage-CommandBar Problem
Date Posted: 11 August 2004 at 2:41pm

In the Multilanguage sample application, there appears to be some type of conflict with the sequence of steps required to set the proper language, while maintaining the saved state of the toolbar(s).  In the mainfrm OnCreate function, the state of the toolbar is restored with the LoadCommandBar() followed by a call to OnLanguageFile().  This results in the toolbar getting placed back to it's original state.

This can be seen in the Multilanguage sample by just customizing the toolbar by removing some icons.  When the program is started again, the icons that have been removed are present.




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