Tabbed ToolBar error locating Toolkit Resources |
Post Reply |
Author | |
sdancer75
Groupie Joined: 08 July 2008 Location: Greece Status: Offline Points: 70 |
Post Options
Thanks(0)
Posted: 01 October 2008 at 8:34am |
Hi,
Trying to make a new SDI application and copy/paste some code from the
tabbedToolbar example, I get an assert error that says:
Error locating Toolkit Resources
Make sure you have included the resources to your project .rc2 file
Add #include <XTToolKitPro.rc> to your project .rc2 file.
The error is occured with the following statement :
CXTPTabToolBar* pToolBar = (CXTPTabToolBar*)pCommandBars->Add(_T( "Standard"), xtpBarTop, RUNTIME_CLASS(CXTPTabToolBar));What seems to be wrong here ?
|
|
Just me!
|
|
Oleg
Admin Group Joined: 21 May 2003 Location: United States Status: Offline Points: 11234 |
Post Options
Thanks(0)
|
So you added XTToolkitPro.rc ?
|
|
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS |
|
sdancer75
Groupie Joined: 08 July 2008 Location: Greece Status: Offline Points: 70 |
Post Options
Thanks(0)
|
Yes I did, and I it worked, but I can not understand why do I need extra resources ? All I need exists in my own .rc file.
I noticed that, if I ignore the assertion error the application works fine, but when I click on "Toolbar options" drop down menu (Add or Remove Buttons) I get the same error. So, I supposed that maybe some of the resources for this control, are located inside the XtToolKitPro.rc file.
Is there any way to remove this "ToolBar option" and consequentially prevent the need of XtToolKitPro.rc file ?
Regards,
|
|
Just me!
|
|
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 |