Print Page | Close Window

HOW TO implement MUI for toolbar in docking pane?

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Docking Pane
Forum Description: Topics Related to Codejock Docking Pane
URL: http://forum.codejock.com/forum_posts.asp?TID=18838
Printed Date: 28 April 2024 at 9:06pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: HOW TO implement MUI for toolbar in docking pane?
Posted By: chas
Subject: HOW TO implement MUI for toolbar in docking pane?
Date Posted: 17 August 2011 at 10:36pm
  Now I am implementing MUI function for application.
  I used the method in Scribble project of ToolkitPro sample.
 
  I use the code:
 
  m_wndToolBar.CreateToolBar(WS_TABSTOP|WS_VISIBLE|WS_CHILD|CBRS_TOOLTIPS, this);
  m_wndToolBar.LoadToolBar(IDR_TOOLBAR_**);
  to add toolbar in docking pane.
 
  How could I make the tooltip content change in toolbar as the language change?
 
  Thanks!



Replies:
Posted By: Oleg
Date Posted: 24 August 2011 at 8:47am
Hi,

Guess most easy way is to connect Control to actions of your main commandBars

m_wndToolBar.Getcontrol(ith)->SetAction(pMainCommandBars->GetActions()->FindAction(nId));


-------------
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS



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