[Classes] [Prev] [Next] [Methods]

NWinScrollBar

Methods Index

Heritage
Description
Usage
Environment
Public Methods
Constructor and Destructor Methods
Inherited and Disabled Methods
Protected Methods
Methods Inherited From CNativeView

NWinScrollBar


Heritage

Superclass: NScrollBar

Subclasses: None


Description

NWinScrollBar is a class whose objects are instantiated internally whenever windows with scrollbars are created. Windows with scrollbars are special types of windows in that the scrollbars are part of the window itself. In contrast, scrollbars of the NScrollBar class are not attached to the window and can be resized or moved around inside the window. Classes such as CScroller and NScrollText sometimes use NWinScrollBar whenever they are created with a special constructor that informs the scroller or scrolltext object that it should use the window's attached scrollbars instead of their own unattached scrollbars.


Usage

You cannot create an NWinScrollBar directly. Instead, you create a window and specify as one of its XVT Portability Toolkit attributes WSF_VSCROLL or WSF_HSCROLL. The window will have scrollbars, and objects of the NWinScrollBar class will be instantiated to manage those scrollbars.


Environment

There are no environment settings for classes that inherit from CNativeView. The drawing properties of native views are system-defined.


Public Methods

Constructor and Destructor Methods

NWinScrollBar(CSubview* theEnclosure, 
DIRECTION theDirection);
NWinScrollBar(const NWinScrollBar& theScrollBar);
NWinScrollBar& operator=(
const NWinScrollBar& theScrollBar);
virtual ~NWinScrollBar();

Inherited and Disabled Methods

virtual void Size(const CRect& theNewSize);
virtual void SetTitle(const CStringRW& theTitle);
virtual void Hide(void);
virtual void Show(void);
virtual void SetEnclosure(CSubview *theEnclosure);
virtual void Enable(void);
virtual void Disable(void);

Protected Methods

virtual SCROLL_TYPE GetSBType(void) const;

Methods Inherited From CNativeView

Both of the following inherited methods are disabled:

virtual void Close(void);
virtual void CreateControl(void);


[Classes] [Prev] [Next] [Methods]

support@xvt.com


Visit our online help desk for tech support

Copyright © 2009, Providence Software Solutions Inc. All rights reserved.