3D PLM Enterprise Architecture

User Interface - Dialogs

CATDlgSeparator

Separates controls in dialog windows or boxes
Quick Reference

CATDialog
  |
  +---CATDlgControl
        |
        +---CATDlgSeparator

The Separator
CATDlgSeparator.gif (2766 bytes) The separator is used to leave thin vertical or horizontal empty areas between different controls to help better visualize the different parts of a window or box. Each separator is a CATDlgSeparator instance.

Use separators whenever you want to clearly separate groups of controls in a dialog box.


Styles
Name Description
CATDlgCtrHorizontal The separator is horizontal. This is the default.
CATDlgCtrVertical The separator is vertical.

[Top]


Programmer's Guide

The separator doesn't send any notification.

[Top]

Constructing a Separator

You just need to choose the separator style.

Horizontal
_HSeparator = new CATDlgSeparator(iParent, "HSepId");
Vertical
_VSeparator = new CATDlgSeparator(iParent, "VSepId",
                                  CATDlgCtrVertical);

[Top]

Setting a Title to a Separator

The separator title should be set by the resource file using a key built with the identifier you declare as the second parameter of the label constructor. It is never displayed.

[Top]


History

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

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