Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - XTP_ID_CUSTOMIZE_CHANGEBUTTONIMAGE ??
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

XTP_ID_CUSTOMIZE_CHANGEBUTTONIMAGE ??

 Post Reply Post Reply
Author
Message Reverse Sort Order
fredwobus View Drop Down
Newbie
Newbie
Avatar

Joined: 02 September 2004
Location: Austria
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote fredwobus Quote  Post ReplyReply Direct Link To This Post Topic: XTP_ID_CUSTOMIZE_CHANGEBUTTONIMAGE ??
    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

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: 25 April 2005 at 11:21pm

See it in our sample:

Samples\CommandBars\ScribbleMultiLang\res\Scribble.rc2

Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
fredwobus View Drop Down
Newbie
Newbie
Avatar

Joined: 02 September 2004
Location: Austria
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote fredwobus Quote  Post ReplyReply Direct Link To This Post 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 ?
Back to Top
fredwobus View Drop Down
Newbie
Newbie
Avatar

Joined: 02 September 2004
Location: Austria
Status: Offline
Points: 22
Post Options Post Options   Thanks (0) Thanks(0)   Quote fredwobus Quote  Post ReplyReply Direct Link To This Post 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


Edited by fredwobus
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.139 seconds.