Ok i have test it now. The Checkbox was unchecked. I have it activated and again tested.
Same problem. All Windows will opened on default Pos and sizes. Before I exit PureForm,
I have check the Ini-File. Its not changed after theme change. But I exit PureForm now,
the INI will now overwrite with all the defaults. (Opening windows)
Maybe it works not correct with the "VirtualStore"-Folder of Vista ?
(c:\Users\Harald\AppData\Local\VirtualStore\Program Files\PureForm\PureFORM.ini)
The Config is so not saved in Roaming-Folder of Vista. If you want you can use this small sample:
Code: Select all
Procedure.s GetAndCreateConfigPath(FullPath$)
  Protected PrefsPath$
  If Right(FullPath$, 1)<>"\" : FullPath$+"\" : EndIf
  PrefsPath$ = FullPath$
  If OSVersion() => #PB_OS_Windows_Vista
    PrefsPath$ = GetEnvironmentVariable("APPDATA") + "\" + StringField(FullPath$, CountString(FullPath$,"\"), "\") + "\"
  EndIf
  If MakeSureDirectoryPathExists_(@PrefsPath$) = #True
    ProcedureReturn PrefsPath$
  EndIf
EndProcedure
MyConfigPath$ = GetAndCreateConfigPath(GetPathPart(ProgramFilename())+"PureTEST_ConfigFolder\")
Debug MyConfigPath$ ; <--- Returns ("") if fails.
So you can become the correct ConfigFolder of Vista. (c:\Users\<Username>\AppData\Roaming\PureForm\PureFORM.ini)
The most apps on Vista using this folder for cfg's. Maybe it is a solution for the problem.  
