Print Page | Close Window

XTP_ID_CUSTOMIZE_CHANGEBUTTONIMAGE ??

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Command Bars
Forum Description: Topics Related to Codejock Command Bars
URL: http://forum.codejock.com/forum_posts.asp?TID=2152
Printed Date: 20 May 2024 at 8:38am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: XTP_ID_CUSTOMIZE_CHANGEBUTTONIMAGE ??
Posted By: fredwobus
Subject: XTP_ID_CUSTOMIZE_CHANGEBUTTONIMAGE ??
Date Posted: 25 April 2005 at 10:46am
I noticed that the constructor for CXTPCustomizeSheet loads the bitmaps with the resource ID XTP_ID_CUSTOMIZE_CHANGEBUTTONIMAGE.
I cannot find a resource file in the codejock sources that defines it.

Am I supposed to include a bitmap with that ID in my app ? I am using the latest V9.601

My app crashes because it cannot load the said resource bitmap.

I should add that I use static linking. Does the CXTPManageState mechanism work with static linking ??

Fred



Replies:
Posted By: fredwobus
Date Posted: 25 April 2005 at 11:03am
Found it myself in another post in this forum.

I included the XTToolkitPro.rc in my rc2 file and it works fine.


But how do I force it to load german resources instead of the standard ones ?


Posted By: Oleg
Date Posted: 25 April 2005 at 11:21pm

See it in our sample:

Samples\CommandBars\ScribbleMultiLang\res\Scribble.rc2



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


Posted By: fredwobus
Date Posted: 26 April 2005 at 3:20am

Thanks oleg

all I needed was this include statement in the rc2 file:

#include <CommandBars\XTPCommandBarsResource_de.rc> // Command Bars German




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