Guides & Tutorials (beta)

Upgrading Toolkit Standard to Toolkit Pro - Preparing Your Application

by Kirk Stowell Visual C++ Created on 11/16/2007  |  Updated on 07/31/2024 0/5 ( 0 votes )

The first thing you will need to do is change the include file for the toolkit in your StdAfx.h file.  This is the file that is used to bring in all of the toolkits class definitions and links your application to the toolkit.   To do this, open your StdAfx.h file and change #include <XTToolKit.h> to #include <XTPToolkit.h>, for example:

#include <XTToolkitPro.rc> // Toolkit Pro components

Renaming Your Base Classes

Next you will need to change some base class derivations.  You will need to replace all occurrences of CXT... to C..., for example in a MDI application CXTMDIChildWnd becomes CMDIChildWnd and CXTMDIFrameWnd becomes CMDIFrameWnd.  For a SDI application CXTFrameWnd becomes CFrameWnd.  Here is a complete list of classes that you will need to change back to their original MFC naming convention.  This will return your application to a good starting point for the migration:

Toolkit Standard Class Name MFC Class Name (rename to)
CXTFrameWnd CFrameWnd
CXTMDIChildWnd CMDIChildWnd
CXTMDIFrameWnd CMDIFrameWnd
CXTOleIPFrameWnd COleIPFrameWnd
CXTControlBar CControlBar
CXTDialogBar CDialogBar
CXTReBar CReBar
CXTReBarCtrl CReBarCtrl

Additional Missing Classes

The following classes are no longer available in the professional version of Codejock Toolkit.  They have either been replaced or made obsolete with the new architecture.  Most of these classes you would not use directly, however they are listed here for your reference:

Toolkit Standard Class Name
CXTAccelSwapOutItemList CXTCustOptions CXTPopupTearOffWnd
CXTAccelManager CXTCustomizeSheet CXTPopupColorTearOff
CXTCBarDialog CXTDockBar CXTPopupToolbarTearOff
CXTCommandsListBox CXTDockColorSelector CXTPreviewView
CXTItemData CXTDockContext CXTSplitterDock
CXTCoolMenu CXTDockWindow CXTSplitterRowDock
CXTMenu CXTFrameImpl CXTToolBar
CXTCustomToolBar CXTString CXTToolBarCtrl
CXTCustToolBarPage CXTMenuBarItem CXTPopupWndToolbar
CXTCustCommandsPage CXTMenuBar CXTToolBarPopupWndHook
CXTCustAccelerators CXTMiniDockFrameWnd CXTToolBarPopupWnd
CXTCustTools CXTNewToolbarDlg CXTToolsManager

User Comments

No comments yet, sign in to comment.

Secure Transactions

Online transactions are secure and protected.


Ssl seal 1
This site is protected by Trustwave's Trusted Commerce program
CompliAssure Secured

Money Back Guarantee

If you are not 100% happy with your purchase within 30 days, you can return it for any reason. Your satisfaction is our priority!


Satisfication Guarantee

Contact sales@codejock.com for more details.