Guides & Tutorials (beta)

Welcome to the Guides & Tutorials Section!

This is your online hub for learning about Codejock Software products. It's tailored for developers who are keen to broaden their skills and share their expertise with the community.

Browse through our collection of Guides & Tutorials below. If you have useful insights or tips to share, we invite you to contribute by submitting your own article. For more information, please visit the submit article page.

Clear

Using 24-bit Color Toolbars

by Kirk Stowell Visual C++ Created on 11/16/2007

If you want to add hot toolbar buttons like the ones seen in internet explorer, it is pretty straight forward. This approach will work for both Visual C++ 5 and 6, however you may want to read up on the enhancements to the toolbar class for VC 6.0. ...

Remove the close button from a floating toolbar

by Kirk Stowell Visual C++ Created on 11/16/2007

You can remove the close button from a floating toolbar by extending the CToolBar class and overriding the ON_WM_WINDOWPOSCHANGED message handler. This message handler is called whenever the size, position or Z order has changed for the CToolBar. We ...

Upgrading Toolkit Standard to Toolkit Pro - Preparing Your Application

by Kirk Stowell Visual C++ Created on 11/16/2007

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 ...

Upgrading Toolkit Standard to Toolkit Pro - Getting Started

by Kirk Stowell Visual C++ Created on 11/16/2007

Changing Your Main Frame Inheritance Now that you have your application free of most of the references to the standard version we can begin our migration process. Now that you have updated your StdAfx.h file, in your MainFrm.h file change your base...

Upgrading Toolkit Standard to Toolkit Pro - Command Bar Initialization

by Kirk Stowell Visual C++ Created on 11/16/2007

Command Bar must be initialized prior to using them and, they must be created after all control bar objects (such as your status bar) have been created. This is also a good place for you to set the theme for the Command Bar. In the standard version...

Upgrading Toolkit Standard to Toolkit Pro - Menubar Creation

by Kirk Stowell Visual C++ Created on 11/16/2007

You will have to change your existing code to use the pro version of menubars. Most applications that use the standard toolkit will reference CXTMenuBar object in CMainFrame::OnCreate. There the object m_wndMenuBar is created, and enable docking is c...

Upgrading Toolkit Standard to Toolkit Pro - Toolbar Creation

by Kirk Stowell Visual C++ Created on 11/16/2007

You will also need to change you code to use the pro version toolbars. As with the menubar, the toolbar object is usually created in CMainFrame::OnCreate and enable docking is called to dock the toolbar to the applications work area. The toolbar is c...

Upgrading Toolkit Standard to Toolkit Pro - Dock Window Creation

by Kirk Stowell Visual C++ Created on 11/16/2007

You will also need to change you code to use the pro version toolbars. As with the menubar, the toolbar object is usually created in CMainFrame::OnCreate and enable docking is called to dock the toolbar to the applications work area. The toolbar is c...

Upgrading Toolkit Standard to Toolkit Pro - Tabbed Dock Window Creation

by Kirk Stowell Visual C++ Created on 11/16/2007

You use the same approach to create a tabbed dock window that you would to create a single dock window. For each tab you want to display, you would need to create a new pane. Once you have all of the panes created, you then group them by calling Atta...

Upgrading Toolkit Standard to Toolkit Pro - Add customization to toolbars and menus

by Kirk Stowell Visual C++ Created on 11/16/2007

Add a ON_COMMAND for XTP_ID_CUSTOMIZE to the message map for CMainFrame. This will handle setup and display for the toolbar and menu customization dialog. MainFrm.cpp: BEGIN_MESSAGE_MAP(CMainFrame, CMDIFrameWnd) //{{AFX_MSG_MAP(CMainFrame) ON...

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.