XTPResourceManager() and SetMenu(). |
Post Reply |
Author | |
ddlittle
Senior Member Joined: 19 February 2004 Location: United States Status: Offline Points: 132 |
Post Options
Thanks(0)
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?
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
Hi,
You also need call AfxSetResourceHandle to dll with Resources
|
|
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 |