This is a new site that's currently running on alpha code. There are going to be bugs. If you discover any, please report them on the site's issues page (GitHub account required). Thanks.
Warning: Many URLs are going to change. Refer to the README file to discover which library project's documentation has been completed.
Project: Window State Components.
Applies to: ~>5.0
var Left, Top, Width, Height, State: Integer
ReadWdwState is used used to read a window’s size, position and state from the registry.
This protected method is overrridden by TPJRegWdwState to read the window’s state, size and position information from the registry. Before reading the registry ReadWdwState triggers either the OnGetRegData or the OnGetRegDataEx [~>5.6] event to enable the user to change the key from which the state data is to be read.
The position of the window is returned in the Left and Top parameters, the size in the Width and Height parameters and the state in the State parameter. State is the ordinal value of a member of the TWindowState enumeration:
wsNormal. The parameters are set to those currently existing for the associated window before calling the method.
This method is called by the Restore method.