Using the Handle
As the default, a Gantt chart is created with four views and a diamond positioned in the middle of the grapher views. This diamond allows users to adjust the size of the manager and the grapher views by using the mouse.
The
getHandle member function retrieves this handle, and
moveHandle moves the handle box to the given position and resizes the manager and grapher views accordingly.
Mono View Gantt Chart
In the month example, the handle box is moved to the right bottom corner of the screen so that only one grapher view is currently visible:
// Make only one grapher view visible
gantt->moveHandle(IlvPoint(display->screenWidth(),
display->screenHeight()));
Hiding the Handle
To hide the handle box, you should write:
gantt->getGadgetContainer()->setVisible(gantt->getHandle(), IlFalse);
Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.