Skip to main content

SalFormStatusBar

Namespace: PPJ.Runtime.Windows

Assembly: PPJ.Runtime.50 (5.0.0.0)

Displays SAL status text and keyboard-lock panels on a form.

public class SalFormStatusBar : StatusBar, ISalAccessory

Example:

using (var form = new PPJ.Runtime.Windows.SalFormWindow())
{
var accessory = new PPJ.Runtime.Windows.SalFormStatusBar();
form.Controls.Add(accessory);
}

Constructors

Instance member SalFormStatusBar()

Creates the default status-text and keyboard-indicator components.

Properties

Instance member Create

Boolean: Gets or sets whether the SAL form creates this accessory. (Default: True)

Protected member CreateParams

CreateParams: Gets native styles for right-to-left mirroring and removes the sizing grip when the owner is not resizable.

Instance member Panels

StatusBarPanelCollection: Gets the native status-panel collection managed by this control.

Instance member ShowKeyboardStatus

Boolean: Gets or sets whether the default Caps Lock, Num Lock, and Scroll Lock indicators are displayed. (Default: True)

Instance member ShowStatusText

Boolean: Gets or sets whether the default status-text panel is displayed. (Default: True)

Instance member Text

String: Gets or sets the text of the default status panel.

Methods

Protected member Dispose(disposing)

Disposes the keyboard-status timer before disposing the control.

ParameterTypeDescription
disposingBooleanTrue to release managed resources as well as native resources.

Protected member OnHandleCreated(e)

Ensures that the configured status panels exist before raising the handle-created event.

ParameterTypeDescription
eEventArgsThe event data.

Protected member OnHandleDestroyed(e)

Stops and disposes the keyboard-status timer before raising the handle-destroyed event.

ParameterTypeDescription
eEventArgsThe event data.

Protected member SetVisibleCore(value)

Applies visibility while keeping an accessory with Create disabled hidden in the designer.

ParameterTypeDescription
valueBooleanTrue to show the accessory; false to hide it.

Protected member WndProc(m)

Processes native messages while ignoring WM_CLOSE to avoid closing the owning form.

ParameterTypeDescription
m by referenceMessageThe window message and its result.

Implements

NameDescription
ISalAccessoryProvides the runtime creation setting and role of a SAL form accessory.