Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - XTPResourceManager() and SetMenu().
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XTPResourceManager() and SetMenu().

 Post Reply Post Reply
Author
Message
ddlittle View Drop Down
Senior Member
Senior Member


Joined: 19 February 2004
Location: United States
Status: Offline
Points: 132
Post Options Post Options   Thanks (0) Thanks(0)   Quote ddlittle Quote  Post ReplyReply Direct Link To This Post Topic: XTPResourceManager() and SetMenu().
    Posted: 10 April 2011 at 11:22pm
I'm trying to implement locatilization in one of my apps, and for the most part it works.  however, the GetCommandBars()->SetMenu() always loads the menu from the .exe and not the currently selected resource.dll.
 
I thought there might be a workaround because XTPResourceManager() has a LoadMenu(), but XTPCommandBars() doesn't have a SetMenu that takes anything other than the resource ID.
 
Any ideas?
 
 
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: 11 April 2011 at 4:08am
Hi,

You also need call AfxSetResourceHandle to dll with Resources
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.143 seconds.