rwlogo
Rogue Wave Views 5.6

Rogue Wave Views
Foundation Package API Reference Guide

Product Documentation:

Rogue Wave Views
Documentation Home

List of all members | Public Member Functions
IlvAbstractView Class Reference

View class. More...

#include <ilviews/base/view.h>

Inheritance diagram for IlvAbstractView:
IlvSystemPort IlvPort IlvScrollView IlvView IlvDrawingView IlvElasticView IlvViewCOMAdapter IlvContainer

Public Member Functions

virtual IlBoolean applyValue (const IlvValue &val)
 Applies an accessor. More...
 
virtual void boundingBox (IlvRect &bbox) const
 Retrieves the relative dimensions of the view. More...
 
virtual IlBoolean changeValue (const IlvValue &val)
 Changes the value of an accessor. More...
 
IlBoolean enableMultitouch (IlBoolean enable)
 Allows the view to receive multitouch events. More...
 
void ensureVisible (const IlvPoint &point)
 Ensures that a point remains visible. More...
 
void ensureVisible (const IlvRect &rect)
 Ensures that a rectangle remains visible.: More...
 
virtual void erase (const IlvRect &rect, IlBoolean reDraw=IlFalse)
 Erases an area of this view. More...
 
virtual void erase (IlBoolean reDraw=IlFalse)
 Entirely erases the view. More...
 
virtual void frameBBox (IlvRect &bbox) const
 Retrieves the dimension of the view frame. More...
 
IlvColorgetBackground () const
 Retrieves the background color of this view. More...
 
IlvBitmapgetBackgroundBitmap () const
 Gets the background bitmap of this view. More...
 
IlvCursorgetCursor () const
 Retrieves the cursor currently set in this view. More...
 
IlvIntensity getOpacity () const
 Returns the opacity level of the view. More...
 
IlvAbstractViewgetParent () const
 Gets the parent of this view. More...
 
IlvSystemView getShellSystemView () const
 Gets the system-dependent identifier of the top shell of this view. More...
 
IlvSystemView getSystemView () const
 Gets the system-dependent identifier of this view. More...
 
void getTransparentColorKey (IlvIntensity &r, IlvIntensity &g, IlvIntensity &b) const
 Returns the color used as a key for transparency. More...
 
virtual void globalBBox (IlvRect &bbox) const
 Retrieves the absolute dimensions of the view. More...
 
IlBoolean hasGrab () const
 Queries if this view has the display grab. More...
 
virtual void hide ()
 Hides the view. More...
 
IlBoolean isLayered () const
 Returns whether the view is layered or not. More...
 
IlBoolean isMultitouchEnabled ()
 Queries if the view is set to receive multitouch events. More...
 
virtual IlBoolean isScrolled () const
 Queries for scrolling capabilities. More...
 
IlBoolean isSensitive () const
 Retrieves the sensitivity of this view to input events. More...
 
virtual void lower ()
 Pushes this view below the others. More...
 
virtual void move (const IlvPoint &position)
 Moves the view. More...
 
virtual void moveResize (const IlvRect &newSize)
 Reshapes the view. More...
 
virtual void position (IlvPoint &position) const
 Retrieves the position of the view. More...
 
virtual IlvValuequeryValue (IlvValue &val) const
 Retrieves the value of an accessor. More...
 
virtual void raise ()
 Brings this view on top. More...
 
void removeWindowProc (IlvWindowProc windowProc, IlAny procArgument=0)
 Removes a user-defined window procedure. More...
 
virtual void resize (IlvDim w, IlvDim h)
 Resizes the view. More...
 
virtual void setBackground (IlvColor *c)
 Sets the background color of this view. More...
 
virtual void setBackgroundBitmap (IlvBitmap *b)
 Sets the background bitmap of this view. More...
 
void setCursor (IlvCursor *cursor)
 Sets the cursor for this view. More...
 
IlBoolean setFocus ()
 Sets the input focus to this view. More...
 
void setLayered (IlBoolean layered)
 Sets whether the window is layered or not. More...
 
void setOpacity (IlvIntensity level)
 Sets the opacity value of the view. More...
 
void setSensitive (IlBoolean sensitivity)
 Sets the sensitivity of this view to input events. More...
 
void setTransparentColorKey (IlvIntensity r, IlvIntensity g, IlvIntensity b)
 Sets the transparency color key value. More...
 
void setWindowProc (IlvWindowProc windowProc, IlAny procArgument=0)
 Sets a Windows window procedure. More...
 
virtual void show ()
 Shows the view. More...
 
virtual void sizeVisible (IlvRect &rect) const
 Retrieves the visible part of the view. More...
 
- Public Member Functions inherited from IlvSystemPort
 IlvSystemPort (IlvDisplay *display, IlvWindowsHandle HDC, IlvDim width=0, IlvDim height=0)
 Windows-specific constructor. More...
 
virtual void clearArea (const IlvRect &, IlBoolean=IlFalse) const
 Clears a rectangular area of the screen. More...
 
virtual void clearArea (const IlvRegion &, IlBoolean=IlFalse) const
 Clears a region of the screen. More...
 
virtual void clip (const IlvRect *) const
 Limits the drawing to the given rectangular area. More...
 
virtual void clip (const IlvRegion *) const
 Limits the drawing to the given region. More...
 
virtual IlUShort depth () const
 Gives the depth of the port. More...
 
virtual void drawArc (const IlvPalette *, const IlvRect &, IlFloat, IlFloat) const
 Draws an arc. More...
 
virtual void drawBitmap (const IlvPalette *, const IlvSystemPort *, const IlvRect &, const IlvPoint &) const
 Draws an image. More...
 
virtual void drawBitmap (const IlvPalette *, const IlvBitmap *, const IlvRect &, const IlvRegion *=0, IlvPosition=IlvCenter, IlBoolean=IlFalse) const
 Draws an image. More...
 
virtual void drawIString (const IlvPalette *, const IlvPoint &, const char *, int, IlvPosition=IlvLeft) const
 Draws a string at the given position. More...
 
virtual void drawLine (const IlvPalette *, const IlvPoint &, const IlvPoint &) const
 Draws a line between 2 points. More...
 
virtual void drawPoint (const IlvPalette *, const IlvPoint &) const
 Draws a point at the given position. More...
 
virtual void drawPoints (const IlvPalette *, IlUInt, const IlvPoint *) const
 Draws a series of points. More...
 
virtual void drawPolyLine (const IlvPalette *, IlUInt, const IlvPoint *) const
 Draws a series of connected lines. More...
 
virtual void drawPolyLine (const IlvPalette *, const IlvPoint &, IlUInt, const IlvDeltaPoint *) const
 Draws a series of connected lines relatively to a reference. More...
 
virtual void drawRectangle (const IlvPalette *, const IlvRect &) const
 Draws the given rectangle. More...
 
virtual void drawRoundRectangle (const IlvPalette *, const IlvRect &, IlUShort) const
 Draws a round rectangle. More...
 
virtual void drawSegments (const IlvPalette *, IlUInt, const IlvPoint *, const IlvPoint *) const
 Draws a set of segments. More...
 
virtual void drawString (const IlvPalette *, const IlvPoint &, const char *, int, IlvPosition=IlvLeft) const
 Draws a string at the given position. More...
 
virtual void drawTransformedString (const IlvPalette *, const char *, int, const IlvTransformer &, const IlvRegion *=0) const
 Draws a transformed string. More...
 
virtual void drawTransparentBitmap (const IlvPalette *, const IlvSystemPort *, const IlvRect &, const IlvPoint &) const
 Draws a transparent bitmap. More...
 
virtual void end ()
 Closed the dump device. More...
 
virtual void fillArc (const IlvPalette *, const IlvRect &, IlFloat, IlFloat) const
 Fills the arc. More...
 
virtual void fillPaths (const IlvPalette *, IlUInt, const IlvPointArray *) const
 Fills the shape defined by the given paths. More...
 
virtual void fillPolyLine (const IlvPalette *, IlUInt, const IlvPoint *, IlBoolean=IlFalse) const
 Fills a polygon. More...
 
virtual void fillPolyLine (const IlvPalette *, const IlvPoint &, IlUInt, const IlvDeltaPoint *, IlBoolean=IlFalse) const
 Fills a polygon. More...
 
virtual void fillRectangle (const IlvPalette *, const IlvRect &) const
 Fills the given rectangle. More...
 
virtual void fillRoundRectangle (const IlvPalette *, const IlvRect &, IlUShort) const
 Fills a round rectangle. More...
 
IlvWindowsHandle getDC () const
 Gets the Windows Handle Device Context. More...
 
virtual IlBoolean initDevice (const char *, IlvRect *=0)
 Initializes the dump device. More...
 
virtual IlBoolean isABitmap () const
 Indicates that this port is a bitmap (not a view or a dump device). More...
 
virtual IlBoolean isASystemPort () const
 Indicates that this port is a true system port (not a dump device). More...
 
virtual IlBoolean isBad () const
 Indicates whether this port is valid. More...
 
virtual IlBoolean newPage () const
 Produces an output page and prepares for a new page. More...
 
void releaseDC ()
 Releases the Windows Handle Device Context. More...
 
virtual void send (const char *) const
 Sends character strings to an output device. More...
 
virtual void setTransformer (const IlvTransformer &)
 Applies another transformer to the coordinates provided for the drawing functions. More...
 
virtual void stretchBitmap (const IlvPalette *, const IlvPoint &, const IlvBitmap *, const IlvTransformer &, const IlvRect *=0) const
 Stretches a bitmap. More...
 
virtual void stretchBitmap (const IlvPalette *, const IlvRect &, const IlvBitmap *, const IlvRect *=0) const
 Stretches a bitmap. More...
 
virtual void stretchBitmapData (const IlvPalette *palette, const IlvBitmapData *src, const IlvRect &from, const IlvRect &to, IlBoolean opaque=IlFalse) const
 Draws a bitmap data. More...
 
virtual void stretchTransparentBitmap (const IlvPalette *, const IlvPoint &, const IlvBitmap *, const IlvTransformer &, const IlvRect *=0) const
 Stretches a transparent bitmap. More...
 
virtual void stretchTransparentBitmap (const IlvPalette *, const IlvRect &, const IlvBitmap *, const IlvRect *=0) const
 Stretches a transparent bitmap. More...
 
- Public Member Functions inherited from IlvPort
 IlvPort (IlvDisplay *display=0)
 Constructor. More...
 
void composeAlpha (IlvIntensity alpha)
 Composes the current alpha value of the port. More...
 
virtual void drawArrow (const IlvPalette *palette, const IlvPoint &from, const IlvPoint &to, IlFloat position) const
 Draws an arrow. More...
 
virtual void drawBezier (const IlvPalette *palette, IlUInt count, const IlvPoint *points) const
 Draws a set of Bzier curves. More...
 
virtual void drawClosedBezier (const IlvPalette *palette, IlUInt count, const IlvPoint *points) const
 Appends a closing curve to a set of Bézier curves. More...
 
virtual void drawILabel (const IlvPalette *palette, const char *label, int length, const IlvRect &drawRect, const IlvRegion *clip=0, IlvPosition align=IlvCenter) const
 Draws a label in a rectangle. More...
 
virtual void drawLabel (const IlvPalette *palette, const char *label, int length, const IlvRect &drawRect, const IlvRegion *clip=0, IlvPosition align=IlvCenter) const
 Draws a label in a rectangle. More...
 
virtual void drawMarker (const IlvPalette *palette, const IlvPoint &location, IlvMarkerType type=IlvMarkerSquare, IlUShort size=IlvDefaultMarkerSize) const
 Draws a marker. More...
 
virtual void drawMnemonicLabel (const IlvPalette *palette, const char *label, const IlvRect &drawRect, const IlvRegion *clip=0, IlvPosition align=IlvCenter, IlBoolean underline=IlTrue) const
 Draws an underlined letter in a label. More...
 
virtual void drawOutlineRectangle (const IlvPalette *outlinePalette, const IlvPalette *fillPalette, const IlvRect &rect, const IlvRegion *clip=0) const
 Draws a rectangle with border effects. More...
 
virtual void drawPaths (const IlvPalette *palette, IlUInt count, const IlvPointArray *paths) const
 Draws an array of paths as polylines. More...
 
virtual void drawReliefDiamond (const IlvPalette *, const IlvPalette *invertedPalette, const IlvPalette *topShade, const IlvPalette *bottomShade, const IlvRect &bbox, IlUShort thickness, const IlvRegion *clip=0) const
 Draws a diamond with depth effects. More...
 
virtual void drawReliefRectangle (const IlvPalette *palette, const IlvPalette *invertedPalette, const IlvPalette *topShade, const IlvPalette *bottomShade, const IlvRect &bbox, IlUShort thickness, const IlvRegion *clip=0) const
 Draws a filled rectangle with depth effects. More...
 
virtual void drawShadowRectangle (const IlvPalette *palette, const IlvPalette *invertedPalette, const IlvRect &bbox, IlUShort thickness, IlvPosition shadowPosition, const IlvRegion *clip=0) const
 Draws a filled rectangle with its shadow. More...
 
virtual void fillBezier (const IlvPalette *palette, IlUInt count, const IlvPoint *points) const
 Fills an area specified by a set of Bézier curves. More...
 
IlvIntensity getAlpha () const
 Provides the alpha value of the port. More...
 
IlvAntialiasingMode getAntialiasingMode () const
 Provides the anti-aliasing mode of the port. More...
 
IlvDisplaygetDisplay () const
 Returns a pointer to the IlvDisplay of this port. More...
 
IlvDim height () const
 Provides the height of the port. More...
 
virtual IlBoolean isADevice () const
 Indicates that this port is a dump device. More...
 
void setAlpha (IlvIntensity alpha)
 Sets the alpha value of the port. More...
 
void setAntialiasingMode (IlvAntialiasingMode mode)
 Sets the anti-aliasing mode of the port. More...
 
void size (IlvDim &w, IlvDim &h) const
 Gives the dimensions of the port. More...
 
IlvDim width () const
 Provides the width of the port. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from IlvSystemPort
static IlvBitmapDataGetBitmapData (IlvSystemPort *port, const IlvRect *rect=0)
 Creates an IlvBitmapData from a rectangular area in an IlvSystemPort. More...
 

Detailed Description

View class.

Library: display

This is an abstract class without any constructor. Thus, instances can only be created from subtypes of this class. Objects of the IlvAbstractView class and its derived subclasses give rise to actual windows or views that are displayed on your screen. A view is a visual place holder – a rectangular object on your screen – to display elements of an application. A window on the screen is an associated set of one or several views.

Every view is distinguished by its location (x, y coordinates), size (height and width), and visibility (that is, an existing view can be visible or not visible).

Member Function Documentation

virtual IlBoolean IlvAbstractView::applyValue ( const IlvValue val)
virtual

Applies an accessor.

This member function is called by the changeValue function and must not be called directly.
Moreover, no drawing operations are carried out here (and should not be). If you add your own new IlvValue, do not forget to override applyValue as well as changeValue and queryValue, since applyValue is called by changeValue.

Parameters
valThe new value of the accessor.
Returns
IlTrue if the accessor was applied, IlFalse otherwise.

Reimplemented from IlvSystemPort.

Reimplemented in IlvView.

virtual void IlvAbstractView::boundingBox ( IlvRect bbox) const
virtual

Retrieves the relative dimensions of the view.

Parameters
bboxIs set to the geometry of this window, that is, its position and size relative to the parent view.
virtual IlBoolean IlvAbstractView::changeValue ( const IlvValue val)
virtual

Changes the value of an accessor.

Changes the value of the accessor val. The changeValue method can be used in the following way:

IlvValue arg("height", (IlvDim)150);
graphic->changeValue(arg);

See IlvValue for more information.

Parameters
valThe new value of the accessor.
Returns
IlTrue if the accessor was changed, IlFalse otherwise.
IlBoolean IlvAbstractView::enableMultitouch ( IlBoolean  enable)

Allows the view to receive multitouch events.

Parameters
enableIf IlTrue, the view will receive multitouch events, if IlFalse, it will only receive usual events and multitouch events will be translated into usual events.
Returns
Returns IlTrue if the view receives multitouch events, IlFalse otherwise.
void IlvAbstractView::ensureVisible ( const IlvPoint point)

Ensures that a point remains visible.

This member function makes sure the given point p is visible to the user. This is meaningful only if isScrolled returns IlTrue, that is, if this object is scrolled in a system scrolling view. The parent scrolling view takes care of its subwindow displacement to guarantee the visibility of p.

Parameters
pointThe point that is requested to remain visible.
void IlvAbstractView::ensureVisible ( const IlvRect rect)

Ensures that a rectangle remains visible.:

This member function makes sure the given rectangle rect is visible to the user. This is meaningful only if isScrolled returns IlTrue, that is, if this object is scrolled in a system scrolling view. The parent scrolling view takes care of its subwindow displacement to guarantee the visibility of rect.

If rect represents a bigger rectangle than the scrolling window is able to display, then the subwindow is centered in the scrolling region on the center of rect. That is, the center of rect is moved to the center of the scrolling window, but the boundaries of rect are not visible.

Parameters
rectThe rectangle that is requested to remain visible.
virtual void IlvAbstractView::erase ( const IlvRect rect,
IlBoolean  reDraw = IlFalse 
)
virtual

Erases an area of this view.

Erases the indicated part of this view, using the background color of the background bitmap.

Parameters
rectThe area that must be erased.
reDrawCan be set to IlTrue to trigger a refresh of the indicated area.
virtual void IlvAbstractView::erase ( IlBoolean  reDraw = IlFalse)
virtual

Entirely erases the view.

Erases the entire view, using the background color of background bitmap.

Parameters
reDrawCan be set to IlTrue to trigger a refresh of the entire view.
virtual void IlvAbstractView::frameBBox ( IlvRect bbox) const
virtual

Retrieves the dimension of the view frame.

Parameters
bboxIs set to the absolute geometry of this view, including the title bar and the frame if the window is a top-level window. The coordinates returned in bbox correspond to the upper left corner of the window, in screen coordinates.
IlvColor* IlvAbstractView::getBackground ( ) const

Retrieves the background color of this view.

Returns
The background color of this window.
IlvBitmap* IlvAbstractView::getBackgroundBitmap ( ) const

Gets the background bitmap of this view.

Returns
The background bitmap currently set in this view.
IlvCursor* IlvAbstractView::getCursor ( ) const

Retrieves the cursor currently set in this view.

Returns
The cursor currently set in this view. This cursor should never be deleted. If you want to use it, you should consider using lock and unLock on this resource (see IlvResource::lock and IlvResource::unLock).
IlvIntensity IlvAbstractView::getOpacity ( ) const

Returns the opacity level of the view.

Returns
An IlvIntensity value. 0 means that the view is completely transparent and 65535 means that it is completely opaque.
IlvAbstractView* IlvAbstractView::getParent ( ) const

Gets the parent of this view.

Returns
The parent IlvAbstractView of the view, or 0 if this view doesn't have an IlvAbstractView parent.
Warning
[note] The parent is 0 if this view was built using an IlvSystemView.
IlvSystemView IlvAbstractView::getShellSystemView ( ) const

Gets the system-dependent identifier of the top shell of this view.

Returns
The top shell system view. Returns 0 in every case but a Motif top window.
IlvSystemView IlvAbstractView::getSystemView ( ) const

Gets the system-dependent identifier of this view.

An IlvAbstractView object encapsulates a real interface object of your display system (sometimes referred to as a widget). The member function getSystemView returns this object.

The IlvSystemView type is the basic type of your display system widgets, and is thus platform-dependent.

Returns
The system-dependent identifier of this view.
void IlvAbstractView::getTransparentColorKey ( IlvIntensity r,
IlvIntensity g,
IlvIntensity b 
) const

Returns the color used as a key for transparency.

Parameters
rWill contain the red component value of the color key.
gWill contain the green component value of the color key.
bWill contain the blue component value of the color key.
virtual void IlvAbstractView::globalBBox ( IlvRect bbox) const
virtual

Retrieves the absolute dimensions of the view.

Parameters
bboxThe geometry of this window relative to the upper left corner of the whole screen.
IlBoolean IlvAbstractView::hasGrab ( ) const

Queries if this view has the display grab.

Returns
IlTrue if this view has the display grab.
virtual void IlvAbstractView::hide ( )
virtual

Hides the view.

Removes the window from the visible windows on your screen.

Reimplemented in IlvView, and IlvContainer.

IlBoolean IlvAbstractView::isLayered ( ) const

Returns whether the view is layered or not.

Returns
IlTrue if the window is layered, IlFalse if not.
IlBoolean IlvAbstractView::isMultitouchEnabled ( )

Queries if the view is set to receive multitouch events.

Returns
Returns IlTrue if the view receives multitouch events, IlFalse otherwise.
virtual IlBoolean IlvAbstractView::isScrolled ( ) const
virtual

Queries for scrolling capabilities.

Returns
IlTrue if this window is the subwindow of a system scrolling window (see IlvScrollView). Scrolling windows own a single subwindow, from which they display only a rectangular region. This allows you to manipulate bigger windows than your screen can display, and navigate within these by means of a smaller rectangular area.
IlBoolean IlvAbstractView::isSensitive ( ) const

Retrieves the sensitivity of this view to input events.

Returns
The current behavior of this window concerning the event that may occur within its frame. If IlFalse is returned, no keyboard or pointing device events are received by this object. The window is said to be sensitive if it can receive these events and isSensitive returns IlTrue.
virtual void IlvAbstractView::lower ( )
virtual

Pushes this view below the others.

Puts this view object below any other view on the screen. This is meaningful only if this view is a top window.

virtual void IlvAbstractView::move ( const IlvPoint position)
virtual

Moves the view.

Moves the upper left corner of the window to the indicated position in the parent window of this object, or the root window in the case of a top window.

Parameters
positionThe new position of the window.

Reimplemented in IlvView.

virtual void IlvAbstractView::moveResize ( const IlvRect newSize)
virtual

Reshapes the view.

Moves and changes the size of the window in the parent window.

Parameters
newSizeThe new position and dimensions of the window.

Reimplemented in IlvElasticView, and IlvView.

virtual void IlvAbstractView::position ( IlvPoint position) const
virtual

Retrieves the position of the view.

Parameters
positionIs set to the position of the upper left corner of the window.
virtual IlvValue& IlvAbstractView::queryValue ( IlvValue val) const
virtual

Retrieves the value of an accessor.

Retrieves the value of the accessor val. The queryValue method can be used in the following way:

IlvValue arg("height");
IlvDim height = (char*)view->queryValue(arg);

See IlvValue for more information.

Returns
The value of the accessor in val.

Reimplemented in IlvView.

virtual void IlvAbstractView::raise ( )
virtual

Brings this view on top.

Puts this view object on top of any other view on the screen. This is meaningful only if this view is a top window.

void IlvAbstractView::removeWindowProc ( IlvWindowProc  windowProc,
IlAny  procArgument = 0 
)

Removes a user-defined window procedure.

Parameters
windowProcThe window procedure that must be removed.
procArgumentThe user-defined argument that was used when setting this window procedure.
See Also
setWindowProc.
virtual void IlvAbstractView::resize ( IlvDim  w,
IlvDim  h 
)
virtual

Resizes the view.

Parameters
wThe new width of the view.
hThe new height of the view.

Reimplemented in IlvElasticView, and IlvView.

virtual void IlvAbstractView::setBackground ( IlvColor c)
virtual

Sets the background color of this view.

The color is used when erasing is required. Thus, a call to setBackground is effective only when regions are erased.

Parameters
cThe new background color of this view. This color is locked, and the previous color is unlocked.

Reimplemented in IlvContainer.

virtual void IlvAbstractView::setBackgroundBitmap ( IlvBitmap b)
virtual

Sets the background bitmap of this view.

The bitmap provided (if it is not 0) is locked. The previous bitmap, if there was one, is unlocked. If the bitmap provided is 0, the background color is used to ( erase the view. To remove properly a background bitmap that was previously set, you must do the following:

view->setBackgroundBitmap(0); // Remove the background bitmap
manager->setBackground(view, view->getBackground()); // Update the manager
manager->draw(view, IlTrue); // Redraw the view

This code must be used also for containers (replaces manager by container in code).

Warning
[note] There is a limitation on Windows 95, because Windows 95 can only handle bitmaps with a size of 8x8.

Reimplemented in IlvContainer.

void IlvAbstractView::setCursor ( IlvCursor cursor)

Sets the cursor for this view.

Sets the given cursor pattern for your pointing device whenever it enters this window. This member function calls lock on the cursor provided as an argument, then unLock on the old cursor to release a reference to it (see IlvResource::lock and IlvResource::unLock).

Parameters
cursorThe new cursor that is used in this view.
IlBoolean IlvAbstractView::setFocus ( )

Sets the input focus to this view.

Gives this window entire control of keyboard events, that is it "gets the focus." When you call this function, all keyboard events are sent to this object. The only way to let another window receive keyboard events is by giving the focus to another window.

Warning
Each windowing system has its own policy of setting the focus in one window or another. Check that setFocus does not lock your system permanently.
void IlvAbstractView::setLayered ( IlBoolean  layered)

Sets whether the window is layered or not.

Layered windows only work in Windows 2000 or higher systems. Layered windows are rendered in an offscreen bitmap by the system, and then blended to the screen using various attributes such as partial translucency. This attribute allows improved performance for shaped windows.

Parameters
layeredThe new layered value of this view. The view becomes layered if the layered argument is IlTrue.
void IlvAbstractView::setOpacity ( IlvIntensity  level)

Sets the opacity value of the view.

This method has only an effect on Windows 2000 and higher systems. The view must be a top window. The method setLayered(IlTrue) is called to set the layered attribute.

Parameters
levelThe opacity level of the view. 0 means that the view is completely transparent and 65535 means that it is completely opaque.
void IlvAbstractView::setSensitive ( IlBoolean  sensitivity)

Sets the sensitivity of this view to input events.

Parameters
sensitivityThe new sensitivity of this view. The view becomes sensitive if the sensitivity argument is IlTrue. If sensitivity is set to IlFalse, none of the input events can reach the window.
void IlvAbstractView::setTransparentColorKey ( IlvIntensity  r,
IlvIntensity  g,
IlvIntensity  b 
)

Sets the transparency color key value.

This method has only an effect on Windows 2000 and higher systems. The view must be a top window. All pixels painted in the window using this color will be transparent. The method setLayered(IlTrue) is called to set the layered attribute.

Parameters
rThe red component value of the color.
gThe green component value of the color.
bThe blue component value of the color.
void IlvAbstractView::setWindowProc ( IlvWindowProc  windowProc,
IlAny  procArgument = 0 
)

Sets a Windows window procedure.

This member function is available only for Windows ports of Rogue Wave Views.

It sets a window procedure for processing events that should not be handled by Rogue Wave Views but by Windows.

Warning
[note] Using a specific window procedure you can force Rogue Wave Views not to process certain messages. However, you should be aware that doing so might produce unpredictable behavior.
Parameters
windowProcThe new window procedure that is used for this view.
procArgumentThe user-defined argument that the window procedure will receive.
See Also
IlvWindowProc, removeWindowProc.
virtual void IlvAbstractView::show ( )
virtual

Shows the view.

Displays the window on the screen. A window can be created in such a way that you cannot see it upon creation, which allows you to draw on that window before it is displayed.

Reimplemented in IlvView, and IlvContainer.

virtual void IlvAbstractView::sizeVisible ( IlvRect rect) const
virtual

Retrieves the visible part of the view.

Parameters
rectIs set to the visible rectangle of this window. This return value is meaningful only if this object is the subwindow of a scrolling window (that is, has a hidden area because of the view hierarchy). If this is not the case, sizeVisible has the same meaning as boundingBox.

© 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.