Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Docking Pane
  New Posts New Posts RSS Feed - HOW TO implement MUI for toolbar in docking pane?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

HOW TO implement MUI for toolbar in docking pane?

 Post Reply Post Reply
Author
Message
chas View Drop Down
Newbie
Newbie


Joined: 29 April 2009
Location: China
Status: Offline
Points: 8
Post Options Post Options   Thanks (0) Thanks(0)   Quote chas Quote  Post ReplyReply Direct Link To This Post Topic: HOW TO implement MUI for toolbar in docking pane?
    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!
Back to Top
Oleg View Drop Down
Admin Group
Admin Group


Joined: 21 May 2003
Location: United States
Status: Offline
Points: 11234
Post Options Post Options   Thanks (0) Thanks(0)   Quote Oleg Quote  Post ReplyReply Direct Link To This Post 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
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.172 seconds.