3D PLM Enterprise Architecture

User Interface - Dialogs

CATDlgSplitter

Splits an area into two resizable subareas
Quick Reference

CATDialog
  |
  +---CATDlgBox
        |
        +---CATDlgSplitter

The Splitter
ListSplitter.jpg (3606 bytes) The splitter consists in an area split into two resizeable subareas by a sash that can be dragged along to resize, decreasing one subarea while increasing the other. The split between the two subareas can be vertical or horizontal. Each subarea can contain boxes and controls.

Use a splitter whenever you want to split an area into two resizable subareas.


Styles
Name Description
CATDlgCtrHorizontal The two subareas are horizontally aligned. The separator is then vertical.
CATDlgCtrVertical The two subareas are vertically aligned. The separator is then horizontal.
CATDlgSplResizeFirstPane The splitter shows the first subarea when first displayed.

[Top]


Programmer's Guide

The splitter can have only two child objects. The first is assigned to the first subarea, which is the top or the left one, and the second is assigned to the second subarea, which is the bottom one or the right one.

[Top]

Constructing a Splitter

The different kinds of icon boxes can be constructed:

[Top]

Managing the Splitter Children

You can switch the splitter children. The child that occupied the first subarea occupies the second one, and conversely, the child that occupied the second subarea occupies the first one, using the SwitchChildren method:

pSplitter->SwitchChildren();

[Top]


History

Version: 1 [Jan 2000] Document created
[Top]

Copyright © 2000, Dassault Systèmes. All rights reserved.