Project: Window State Components.
Unit: PJWdwState.
Applies to: ~>5.0
type
TPJWdwStateData = record
Left: Integer;
Top: Integer;
Width: Integer;
Height: Integer;
State: Integer;
end;
This record type collects together the window size, position and state data that must be saved to and read from persistent storage by the OnReadData and OnSaveData events of the TPJUserWdwState component.
The fields are as follows:
| Field | Description |
|---|---|
| Left | Position of left hand side of window in screen coordinates. |
| Top | Position of top of window in screen coordinates. |
| Width | Width of window in pixels. |
| Height | Height of window in pixels. |
| State | State of window. This is the ordinal value of a TWindowState value, i.e. wsMinimized, wsMaximized or wsNormal. |