Derived from: public MView, public BView
Declared in: <MSplitter.h>
An MSplitter is a control that can be placed between two controls or panels, and allows the seperation
between those two controls or panels to be moved around. The splitter does this by adjusting the
weight of its neighbours and rerunning the layout process. An MSplitter can be used as a vertical or
horizontal splitter. It figures out how it should behave by checking whether it is embedded in an HGroup
or a VGroup.
Currently, MSplitter cannot function properly when you place more than one of them in an HGroup or VGroup.
MSplitter() MSplitter(BMessage *archive)Creates the MSplitter.
virtual ~MSplitter()Cleans up after the MSplitter.
static BArchivable *Instantiate(BMessage *archive)Not yet implemented.
virtual long Archive(BMessage *archive, bool deep=true) constNot yet implemented.
virtual void AttachedToWindow()Implementation detail.
virtual void DetachedFromWindow()Implementation detail.
virtual void MouseDown(BPoint)Starts an asynchronous thread that handles the resizing of neighbouring objects.
virtual void MouseMoved(BPoint, ulong, const BMessage*)Changes the mousecursor when over the MSplitter.