3D PLM Enterprise Architecture |
User Interface - Dialogs |
CATDlgStatusBarDisplays application or window information |
Quick Reference |
CATDialog | +---CATDlgBar | +---CATDlgStatusBar
The status bar is used to display temporary or permanent information information related to the application status, such as the prompts of the active command or its messages, and a keyboard entry field that used by the application PowerInput. It is generally located at the bottom of the window. It can also include push buttons, check buttons, radio buttons, and labels. |
Use the status bar when you want to give applicatoin status information.
[Top]
Notification | Method | Sent when |
---|---|---|
CATDlgEditModifyNotification | GetEditModifyNotification |
Whenever the end user edits the PowerInput entry field |
[Top]
The parent of a status bar must be an instance of the class CATDlgDocument, which can contain only one status bar instance. The labels or buttons instances which have a status bar as father are arranged from left to right in their creation order, left of a defaulted message area.
[Top]
Construct a status bar as follows:
_pStatusbar = new CATDlgStatusBar(iParent, iName) |
[Top]
You can set or get the PowerInput mode:
int PowerInputMode = 1; _pStatusbar->SetPowerInputMode(PowerInputMode); |
Valid values are:
1 | The PowerInput is enabled |
0 | The PowerInput is disabled |
int PowerInputMode; PowerInputMode= _pStatusbar->GetPowerInputMode(); |
You can set or get the PowerInput label:
CATUnicodeString PowerInputLabel = ... ; _pStatusbar->SetPowerInputLabel(PowerInputLabel); |
CATUnicodeString PowerInputLabel; PowerInputLabel = _pStatusbar->GetPowerInputLabel(); |
You can set or get the PowerInput text:
CATUnicodeString PowerInputText = ... ; _pStatusbar->SetPowerInputText(PowerInputText); |
CATUnicodeString PowerInputText; PowerInputText = _pStatusbar->GetPowerInputText(); |
You can set the PowerInput state with the SetPowerInputState method:
int PowerInputState = ... ; _pStatusbar->SetPowerInputText(PowerInputText); |
Valid values are:
0 | The PowerInput entry must be associated with the active dialog box |
1 | The PowerInput entry was caught by the CATApplicationDocument |
2 | The PowerInput entry cannot be decoded |
You can get the PowerInput field separator with the GetFieldSeparator method:
CATUnicodeChar PowerInputSeparator; PowerInputSeparator = _pStatusbar->GetFieldSeparator(); |
[Top]
Version: 1 [Jan 2000] | Document created |
[Top] |
Copyright © 2000, Dassault Systèmes. All rights reserved.