|
|
SplitterBar controlThe SplitterBar control is a subclassedSTATIC Windows control, which
has the functionality of a splitter. The WTL library already comes with a
splitter control packed with neat features, but it's designed as a container
window so initializing and handling it in the application sometimes become
tedious. For instance, adding a splitter in a dialog is not always straightforward.
In many cases we just need to allow the user to adjust the layout between two controls.
The perfect example is the Unlike the real WTL Splitter, this control doesn't include any of the additional functionality - such as proportional split, splitter with one pane only, etc etc. It's just for use in the special case - where only two controls are involved.
The control supports the
To use it, place a
In the OnInitDialog() event handler, add the following lines:
There's both a Source Code DependenciesMicrosoft Visual C++ 6.0Microsoft WTL 7.0 Library Download Files
Written by Bjarke Viksoe. Article submitted 11/29/2003.
|
|||