rwlogo
Rogue Wave Views 5.5.1

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

IlvScrollView Class Reference

View class. More...

#include <ilviews/base/view.h>

Inheritance diagram for IlvScrollView:
IlvAbstractView IlvSystemPort IlvPort

List of all members.

Public Member Functions

 IlvScrollView (IlvAbstractView *parent, const IlvRect &size, IlBoolean visible=((IlBoolean) 1))
 Constructor.
 IlvScrollView (IlvDisplay *display, IlvSystemView parent, const IlvRect &size, IlBoolean visible=((IlBoolean) 1))
 Constructor.

Detailed Description

View class.

Library: display

A scroll view contains a pair of scroll bars, allowing the user to scroll the lower-level drawing view contained within the scroll view. IlvScrollView is a possible parent for an IlvView object.

scview.gif

IlvScrollView To operate properly, this class needs a widget toolkit linked to your application. If you do not want or do not have the associated libraries, refer to the pure Rogue Wave Views implementation, IlvScrolledView.
An IlvScrollView must contain a single child view, which can be bigger than its parent. The IlvScrollView handles all automatic scrolling operations by means of scroll bars located on the right and bottom of the scrolling view. You can manipulate the scroll bars to display new areas of the subview.

See also:
IlvScrolledView, IlvView.

Constructor & Destructor Documentation

IlvScrollView::IlvScrollView ( IlvDisplay display,
IlvSystemView  parent,
const IlvRect size,
IlBoolean  visible = ((IlBoolean) 1) 
)

Constructor.

This constructor creates a view that is a child of the existing system view indicated by parent. This constructor thus handles a non-Rogue Wave Views window object within an IlvScrollView object. This can be any of your system windows, such as those created by other applications.

Parameters:
display The display instance.
parent The parent view.
size The dimensions of the view.
visible Specifies whether the scroll view object is visible.
IlvScrollView::IlvScrollView ( IlvAbstractView parent,
const IlvRect size,
IlBoolean  visible = ((IlBoolean) 1) 
)

Constructor.

This constructor initializes a scroll view object that is a child of the parent view. The dimensions of the view are indicated by size. The new scroll view object is not visible if visible has the value IlFalse.

Parameters:
parent The parent view.
size The dimensions of the view.
visible Specifies whether the scroll view object is visible.

© Copyright 2012, Rogue Wave Software, Inc. All Rights Reserved.
Rogue Wave is a registered trademark of Rogue Wave Software, Inc. in the United States and other countries. All other trademarks are the property of their respective owners.