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

18.4 Zoom Modes

The following flags, when set with SetZoomMode(), control how the view is displayed.

Table 45: Zoom mode flags

Zoom mode flag Description
SEC_ZOOMOFF No zooming. Use this if you want to turn off zooming. This is the default mode.
SEC_ZOOMNORMAL Enables normal zoom mode. In this mode, specify either a zoom rectangle or a zoom percentage to control zooming.
SEC_ZOOMFIT Enables zoom to fit mode. The view is automatically zoomed to fit inside the client area so that no scrabblers are needed.

SECPanView supports two modes of operation that determine how the view is updated when the user moves the view with the mouse. The modes listed below can be selected with SetPanMode().

Table 46: Pan Modes

Pan mode flag Description
SEC_PANDELAY The view is updated only after the user completes the move and releases the mouse button.
SEC_PANINSTANT The view is updated instantly for every movement of the mouse.


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.