Print Page | Close Window

Tabbed ToolBar error locating Toolkit Resources

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=12308
Printed Date: 30 September 2024 at 3:20am
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Tabbed ToolBar error locating Toolkit Resources
Posted By: sdancer75
Subject: Tabbed ToolBar error locating Toolkit Resources
Date 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!



Replies:
Posted By: Oleg
Date Posted: 01 October 2008 at 2:11pm
So you added XTToolkitPro.rc ?

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


Posted By: sdancer75
Date Posted: 02 October 2008 at 2:56am
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!



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