You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
+ Fixed bug issue #32 - "Window State Components do not compile with Delphi 5" (https://code.google.com/p/ddab-lib/issues/detail?id=32)
1
+
# Change Log for Window State Components
2
+
3
+
## v5.6.1 of 28 October 2014
4
+
5
+
+ Fixed bug ~~issue #32~~ - "Window State Components do not compile with Delphi 5".
13
6
+ Updated read-me file to noted that components now known to compile with Delphi 5.
14
7
15
-
Release v5.6.0 of 12 January 2014
8
+
## v5.6.0 of 12 January 2014
9
+
16
10
+ Added new RootKeyEx property to TPJRegWdwState that acts as an alias for the existing RootKey property with the difference that it exposes friendly names for supported registry hives. This make setting the registry root key in Delphi's object inspector more intuitive.
17
11
+ Added new OnGetRegDataEx that enables the registry root key to be set using same symbols used by the RootKeyEx property. The event takes precedence over the older OnGetRegData event that operates directly on HKEY values.
18
12
+ Changed demo 1 (StandardDemo) to demonstrate how to handle the new OnGetRegDataEx event instead of OnGetRegData. Revised and corrected the instructions that appear in the demo's main window and dialogue box.
19
13
+ Updated documentation re the changes.
20
14
+ Fixed some errors in change log.
21
15
22
-
Release v5.5.3 of 11 January 2014
16
+
## v5.5.3 of 11 January 2014
17
+
23
18
+ Fixed problem with compiler directives in Window State Components unit that was causing compilation to fail on Delphi XE5.
24
19
+ Minor documentation tweaks and corrections.
25
20
26
-
Release v5.5.2 of 30 October 2013
21
+
## v5.5.2 of 30 October 2013
22
+
27
23
+ Fixed registry access code in TPJRegWdwState to use 64 bit registry view when running on 64 bit Windows. Note that this fix doesn't work when compiled with Delphi 5 and earlier.
28
24
+ Updated font in the "StandardDemo" demo program to conform to other demo forms.
29
25
+ Updated documentation.
30
26
31
-
Release v5.5.1 of 07 June 2013
32
-
+ Fixed issue 27: "Window State Components release 5.5.0 does not compile on Delphi XE2 or later" (http://code.google.com/p/ddab-lib/issues/detail?id=27).
27
+
## v5.5.1 of 07 June 2013
28
+
29
+
+ Fixed ~~issue~~ 27: "Window State Components release 5.5.0 does not compile on Delphi XE2 or later".
30
+
31
+
## v5.5.0 of 06 June 2013
33
32
34
-
Release v5.5.0 of 06 June 2013
35
33
+ Changed how TPJWdwState determines the name of the ini file it uses to store window state data.
36
-
- Introduced new IniRootDir property that specifies whether relative ini file names are to be relative to %appdata%, %programdata%, windows directory or program executable file directory. Fixes issue #15 (http://bit.ly/ZQ1OPc).
37
-
- Default behaviour changed to use %appdata% instead of windows directory for relative ini files.
38
-
- Added new OnGetIniDataEx event to permit IniRootDir property value to be overridden.
39
-
- Behaviour of OnGetIniData has been changed to add default folders to relative file names set in the event handler.
40
-
- Added new IniFilePath method to return the fully specified name of the ini file.
34
+
+ Introduced new IniRootDir property that specifies whether relative ini file names are to be relative to %appdata%, %programdata%, windows directory or program executable file directory. Fixes ~~issue #15~~.
35
+
+ Default behaviour changed to use %appdata% instead of windows directory for relative ini files.
36
+
+ Added new OnGetIniDataEx event to permit IniRootDir property value to be overridden.
37
+
+ Behaviour of OnGetIniData has been changed to add default folders to relative file names set in the event handler.
38
+
+ Added new IniFilePath method to return the fully specified name of the ini file.
41
39
+ If ini file directories do not exist they are now created instead of causing errors.
42
40
+ Any empty section names set in TPJWdwState.OnGetIniData event handlers are now replaced with a default section name.
43
41
+ Updated demos:
44
-
- Modified demo #2 to demonstrate TPJWdwState's use of the IniRootDir and IniFilePath properties and to write that window state ini file to %appdata%.
45
-
- Fixed demo #4 to preserve its pre-v5.5 behaviour of writing the ini file to the program's executable directory.
42
+
+ Modified demo #2 to demonstrate TPJWdwState's use of the IniRootDir and IniFilePath properties and to write that window state ini file to %appdata%.
43
+
+ Fixed demo #4 to preserve its pre-v5.5 behaviour of writing the ini file to the program's executable directory.
46
44
+ Tidied up some code.
47
45
+ Revised documentation (help file not updated - it is now deprecated).
48
46
+ Renamed link to online documentation and changed the URL.
49
47
50
-
Release v5.4.2 of 24 April 2013
51
-
+ Fixed bug #26 (http://code.google.com/p/ddab-lib/issues/detail?id=26) where the window position was not restored correctly for main windows that touched or overlapped the task-bar when it was located at the top or left of the screen.
48
+
## v5.4.2 of 24 April 2013
49
+
50
+
+ Fixed bug ~~#26~~ where the window position was not restored correctly for main windows that touched or overlapped the task-bar when it was located at the top or left of the screen.
51
+
52
+
## v5.4.1 of 08 January 2013
52
53
53
-
Release v5.4.1 of 08 January 2013
54
54
+ Component source modified to compile without warnings on Delphi XE3
55
55
+ Unit names are now qualified with namespace on Delphi XE2 and later.
56
56
+ Changes to demo projects:
57
-
- Font and appearance of some controls changed.
58
-
- All form files now in text format.
59
-
- Forms no longer scaled.
60
-
- All demos now need Delphi 7 as a minimum.
57
+
+ Font and appearance of some controls changed.
58
+
+ All form files now in text format.
59
+
+ Forms no longer scaled.
60
+
+ All demos now need Delphi 7 as a minimum.
61
61
+ Component source license changed to Mozilla Public License v2.0. (Demos now placed in public domain).
62
62
+ MPL text file and documentation wiki short-cut have had names changed.
63
63
+ WinHelp help file regenerated with updated copyright date.
64
64
+ Documentation revised.
65
65
66
-
Release v5.4 of 19 June 2011
66
+
## v5.4 of 19 June 2011
67
+
67
68
+ Added new OnAfterWindowRestored and OnAfterWindowSized events to all components.
68
69
+ Added new topics to help file and updated copyright date.
69
70
+ Corrected header comments in various demo project files.
70
71
71
-
Release v5.3.1 of 15 November 2009
72
+
## v5.3.1 of 15 November 2009
73
+
72
74
+ Made PJWdwState unit compatible with Delphi 4.
73
75
+ Made minor changes to demos:
74
-
- Improved layout of controls in demo #2.
75
-
- Removed form properties that are not supported on earlier versions of Delphi and changed form format from text to binary where necessary.
76
+
+ Improved layout of controls in demo #2.
77
+
+ Removed form properties that are not supported on earlier versions of Delphi and changed form format from text to binary where necessary.
76
78
+ Rebuilt help file.
77
79
+ Removed HKEY property editor from release.
78
80
+ Revised documentation and included short-cut file that links to component Wiki.
79
81
80
-
Release v5.3 of 27 September 2007
82
+
## v5.3 of 27 September 2007
83
+
81
84
+ Completely re-implemented code that supports fitting MDI child form in parent client workspace. Original code was broken.
82
85
+ Bug fix in multi-monitor code by Craig Symons.
83
86
+ Pause before minimization of form now uses a busy wait rather than call to Sleep.
84
87
85
-
Release v5.2 of 19 September 2007
88
+
## v5.2 of 19 September 2007
89
+
86
90
+ Added support for multiple monitors based on code suggested by Craig Symons.
87
91
+ Deleted unused defines.
88
92
89
-
Release v5.1 of 28 January 2007
93
+
## v5.1 of 28 January 2007
94
+
90
95
+ Merged in changes provided by Bruce J Miller.
91
-
- Added events to enable user defined data to be read from or written to registry when TPJRegWdwState writes or reads window state information.
92
-
- Enabled components to work with MDI child forms.
96
+
+ Added events to enable user defined data to be read from or written to registry when TPJRegWdwState writes or reads window state information.
97
+
+ Enabled components to work with MDI child forms.
98
+
99
+
## v5.0 of 15 October 2006
93
100
94
-
Release v5.0 of 15 October 2006
95
101
+ Added new TPJUserWdwState component that gets user to provide implementation of reading and writing persistent storage by handling events.
96
102
+ Changed TPJCustomWdwState.OnReadWdwState to protected and exposed in TPJWdwState and TPJRegWdwState. This is not used in TPJUserWdwState.
97
103
+ Updated help files re new TPJUserWdwState component.
98
104
+ Added new demo illustrating use of TPJUserWdwState.
99
105
100
-
Release v4.3.1 of 18 December 2005
106
+
## v4.3.1 of 18 December 2005
107
+
101
108
+ Fixed compiler directive error causing program to fail to compile in Delphis below v7.
102
109
+ Added new a-link keyword file.
103
110
+ Updated HKEY property editor from v1.0.2 to v1.0.3.
104
111
+ Removed from demo applications some form properties and unit clauses not available in earlier versions of Delphi.
105
112
106
-
Release v4.3 of 04 September 2005
113
+
## v4.3 of 04 September 2005
114
+
107
115
+ Added new CreateStandAlone constructor to enable window state component instances to be constructed dynamically at run time.
108
116
+ Updated help file with details of new constructor.
109
117
+ Added two new demo programs.
110
118
111
-
Release v4.2 of 30 October 2003
119
+
## v4.2 of 30 October 2003
120
+
112
121
+ Added new option to Options property to ensure window is not displayed out of the desktop's work area.
113
122
+ Some changes made to way registry is accessed in TPJRegWdwState.
114
123
+ Rearranged some decision logic.
115
124
+ Updated HKEY property editor from v1.0.1 to v1.0.2.
116
125
+ Changed component palette to 'DelphiDabbler' from 'PJSoft'.
117
126
118
-
Release v4.1 of 07 August 2002
127
+
## v4.1 of 07 August 2002
128
+
119
129
+ Added new OnReadWdwState event in which user can override window placement, size and state read from registry or ini file.
120
130
+ Added new Options property which contains a set of values that govern the behaviour of the component. The options are to ignore the stored window state and ensure window is displayed normally or ignore the stored window size and use the form's size as designed.
121
131
122
-
Release v4.0 of 17 March 2002
132
+
## v4.0 of 17 March 2002
133
+
123
134
+ Made use ParamStr(0) for default name of ini file and registry key.
124
135
+ Changed name of default registry sub key and ini file section to enable use of multiple forms without overwriting each other's data when using default property values.
125
136
+ Rewrote method of auto saving and restoring windows to stop having to manipulate the owning form's OnCreate and OnDestroy event handlers. Now uses a hook class to hook into owning form's messages and pass them to window state components. The window now always momentarily appears in normal state before being maximized or minimized as required.
@@ -131,28 +142,34 @@ Release v4.0 of 17 March 2002
131
142
+ Changed unit name to PJWdwState.
132
143
+ Rewrote help file to integrate into Delphi 3+ IDE, removing support for Delphi 2 IDE..
133
144
134
-
Release v3.1.1 of 08 October 2000
145
+
## v3.1.1 of 08 October 2000
146
+
135
147
+ Added v1.0.1 of the HKEY property editor for TPJRegWdwState's RegRootKey property.
136
148
137
-
Release v3.1 of 29 April 2000
149
+
## v3.1 of 29 April 2000
150
+
138
151
+ Fixed a bug where windows that were supposed to be restored maximised were displayed using the last saved window dimensions. This bug was also causing the form to fail to load other components under certain circumstances. (Thanks to Andre Viol for reporting these bugs).
139
152
140
-
Release v3.0 of 05 April 2000
153
+
## v3.0 of 05 April 2000
154
+
141
155
+ Added AutoSaveRestore property to enable forms to be automatically saved and restored. (Thanks to Stefan Winter for suggesting this and providing prototype code).
142
156
+ Modified window restoration code to avoid task bars in positions other than bottom of screen. (Again thanks to Stefan for pointing out the problem and providing prototype code to fix it).
143
157
+ Prevented forms being restored as minimized from flashing on screen (by cheating!)
144
158
+ Removed conditional compilation statements since this version will not compile under Delphi 1.
145
159
146
-
Release v2.1 of 29 November 1999
160
+
## v2.1 of 29 November 1999
161
+
147
162
+ Renamed ReadState and SaveState methods to ReadWdwState and SaveWdwState respectively since ReadState was masking a method inherited from TComponent.
148
163
+ Updated HTML documentation to include installation notes for Delphi 3/4 and added update history.
149
164
150
-
Release v2.0 of 19 October 1999
165
+
## v2.0 of 19 October 1999
166
+
151
167
+ Re-write which added TPJRegWdwState component that stores window state information in registry.
152
168
+ Extracted common functionality of TPJWdwState and TPJRegWdwState into new abstract base class TPJCustomWdwState.
153
169
+ TPJWdwState presented same interface and functionality as version 1.
154
170
+ TRegWdwState was not available when compiled under Delphi 1 (because it uses the registry).
155
171
+ Updated HTML documentation to deal with new classes.
156
172
157
-
Release v1.0 of 15 August 1999
173
+
## v1.0 of 15 August 1999
174
+
158
175
+ Original version - included just TPJWdwState component with HTML documentation.
0 commit comments