HOW TO implement MUI for toolbar in docking pane? |
Post Reply |
Author | |
chas
Newbie Joined: 29 April 2009 Location: China Status: Offline Points: 8 |
Post Options
Thanks(0)
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!
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
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 |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |