Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Command Bars
  New Posts New Posts RSS Feed - Tabbed ToolBar error locating Toolkit Resources
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Tabbed ToolBar error locating Toolkit Resources

 Post Reply Post Reply
Author
Message
sdancer75 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 July 2008
Location: Greece
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdancer75 Quote  Post ReplyReply Direct Link To This Post Topic: Tabbed ToolBar error locating Toolkit Resources
    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!
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: 01 October 2008 at 2:11pm
So you added XTToolkitPro.rc ?
Oleg, Support Team
CODEJOCK SOFTWARE SOLUTIONS
Back to Top
sdancer75 View Drop Down
Groupie
Groupie
Avatar

Joined: 08 July 2008
Location: Greece
Status: Offline
Points: 70
Post Options Post Options   Thanks (0) Thanks(0)   Quote sdancer75 Quote  Post ReplyReply Direct Link To This Post 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!
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.155 seconds.