Rogue Wave banner
Previous fileTop of DocumentContentsIndex pageNext file
Objective Toolkit User's Guide
Rogue Wave web site:  Home Page  |  Main Documentation Page

5.3 Visual Studio .NET/Office XP Style

The following are examples of the styles of Visual Studio.NET/Office XP components that Objective Toolkit offers:

Figure 42: Toolbar in Normal Mode

Figure 43: Toolbar in Mouse Hover Mode

Figure 44: Toolbar in Pressed Mode

Figure 45: Toolbar in Checked Mode

Figure 46: Menu bar in Normal Mode

Figure 47: Menu bar in Mouse Hover Mode

Figure 48: Menu bar with Open Submenu and Selected Item

5.3.1 Enabling .NET/Office XP Styles

To enable Visual Studio.NET style toolbars and menu bars, call theBOOL RWSetDotNetStyle(BOOL bEnable=true) function from your application. This function belongs to the global namespace and can be found in Includes\Toolkit\TMenuFrm.h. The suggested place to call this function is from the InitApplication method of your CWinApp-derived class. Note that this call must be made before the creation of the Mainframe.

To view sample code showing how to enable Visual Studio.NET/Office XP styles, see the CVizApp::InitInstance function implementation in VIZ.cpp, VIZ sample:

The VIZ sample demonstrates this feature, and can be found in the Samples\Toolkit\MFC\Docking directory.


To fully enable the .NET style, use the Stingray Studio toolbars and menu bars. You will also need to enable 'Cool' look for the toolbar. For more information on 'Cool' look, please see
Section 6.2, "The Customizable Toolbar Classes."



Previous fileTop of DocumentContentsNo linkNext file

Copyright © Rogue Wave Software, Inc. All Rights Reserved.

The Rogue Wave name and logo, and Stingray, are registered trademarks of Rogue Wave Software. All other trademarks are the property of their respective owners.
Provide feedback to Rogue Wave about its documentation.