Back to beunited.org OSBOS Annotated BeBook

The Be Book The Interface Kit The Interface Kit Index

BView

Derived from: BHandler
Declared in:  be/interface/View.h
Library: libbe.so
Summary:  more...


The BView class is one of the largest in the BeOS class library. Because of this, the BView documentation is split across a number of files:

For information about a specific member function, click on the function name below:


The Be Book The Interface Kit The Interface Kit Index

Reader Comments

One thing I have noticed about BView::SetViewCursor() is that it will not work in the constructor, AttachedToWindow(), AllAttached(), or WindowActivated(). Sheesh! In fact, the only place that it seems to work to use SetViewCursor() is in MouseMoved().
-- Alan Ellis
 
For a background view (which just is painted gray and holds other controls), try using a BBox. For the bounds, take the window Bounds() and InsetBy(-1, -1). Doing this will make your dialog look classier and more professional.
-- Brian Luft
 
If you need to init graphics stuff in your view's childs (other BViews typically), you have to do it in the AllAttached() method. It's because graphics stuff need the child to be attached.
-- j»rŸme duval
   
To add a comment, you must be logged in to the beunited.org portal.