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

8.3 New Flat-Style Drawing Mode

A new addition to Objective Toolkit's docking windows, is a new 'flat' drawing style. To enable the flat drawing style, you will need to set CBRS_EX_FLATSTYLE extended style while creating a docking window. Alternatively, you can set the flat drawing style later by calling SetExBarStyle (a member of the SECControlBar class).

Text inside a gripper window is taken from the window caption which can be set during the creation of a window, or later in the program by calling the SetWindowText function (a member of the CWnd class).

Figure 82: Flat-Style Horizontal Gripper with Close and Expand Buttons Enabled

Figure 83: Flat-Style Vertical Gripper with Close and Expand Buttons Enabled

To view sample code which shows how to enable the flat-style mode of docking windows during creation time, please see the CMainFrame::OnCreate function implementation in MAINFRM.cpp, VIZ sample.

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



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.