SalFormStatusBar
Namespace: PPJ.Runtime.Windows
Assembly: PPJ.Runtime.50 (5.0.0.0)
Displays SAL status text and keyboard-lock panels on a form.
- C#
- VB.NET
public class SalFormStatusBar : StatusBar, ISalAccessory
Public Class SalFormStatusBar
Inherits StatusBar
Implements ISalAccessory
Example:
using (var form = new PPJ.Runtime.Windows.SalFormWindow())
{
var accessory = new PPJ.Runtime.Windows.SalFormStatusBar();
form.Controls.Add(accessory);
}
Constructors
SalFormStatusBar()
Creates the default status-text and keyboard-indicator components.
Properties
Create
Boolean: Gets or sets whether the SAL form creates this accessory. (Default: True)
CreateParams
CreateParams: Gets native styles for right-to-left mirroring and removes the sizing grip when the owner is not resizable.
Panels
StatusBarPanelCollection: Gets the native status-panel collection managed by this control.
ShowKeyboardStatus
Boolean: Gets or sets whether the default Caps Lock, Num Lock, and Scroll Lock indicators are displayed. (Default: True)
ShowStatusText
Boolean: Gets or sets whether the default status-text panel is displayed. (Default: True)
Text
String: Gets or sets the text of the default status panel.
Methods
Dispose(disposing)
Disposes the keyboard-status timer before disposing the control.
| Parameter | Type | Description |
|---|---|---|
| disposing | Boolean | True to release managed resources as well as native resources. |
OnHandleCreated(e)
Ensures that the configured status panels exist before raising the handle-created event.
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | The event data. |
OnHandleDestroyed(e)
Stops and disposes the keyboard-status timer before raising the handle-destroyed event.
| Parameter | Type | Description |
|---|---|---|
| e | EventArgs | The event data. |
SetVisibleCore(value)
Applies visibility while keeping an accessory with Create disabled hidden in the designer.
| Parameter | Type | Description |
|---|---|---|
| value | Boolean | True to show the accessory; false to hide it. |
WndProc(m)
Processes native messages while ignoring WM_CLOSE to avoid closing the owning form.
| Parameter | Type | Description |
|---|---|---|
| m | Message | The window message and its result. |
Implements
| Name | Description |
|---|---|
| ISalAccessory | Provides the runtime creation setting and role of a SAL form accessory. |