Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Win32/Win64 API (native code) (https://www.delphipraxis.net/17-win32-win64-api-native-code/)
-   -   Delphi Fenstergröße beibehalten (https://www.delphipraxis.net/100556-fenstergroesse-beibehalten.html)

Tommy1988 30. Sep 2007 12:37


Fenstergröße beibehalten
 
Hallo,

also es würde mich mal interessieren, ob in der Registry irgentwo eigentlich
die Fenstergröße der verschiedenen Fenster abgespeichert/eingetragen wird.

Das war es glaube ich schon :|

Relicted 30. Sep 2007 12:42

Re: Fenstergröße beibehalten
 
von "custom" programmen?
nein nur wenn du es explizit angibst. aber registry ist immer die hässlichste möglichkeit daten zu speichern. so müllt man nur die reg mit zeug zu was man nie braucht ^^.

machs über ne ini-datei. geht schneller und ist sauberer.. (meines erachtens)

wenn du "windows"eigene progs meinst:
ich glaube die speichern ihre pos in der reg.

gruß
reli

Tommy1988 30. Sep 2007 12:55

Re: Fenstergröße beibehalten
 
Zitat:

wenn du "windows"eigene progs meinst:
ich glaube die speichern ihre pos in der reg.
Genau, ich meine alle Explorerfenster.

Relicted 30. Sep 2007 13:07

Re: Fenstergröße beibehalten
 
hab ich gerade in nem anderen board gelesen:

Zitat:

The data (each Explorer window's size, position, view settings, arrange settings, etc) is stored in the following registry keys:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\Streams
HKEY_CURRENT_USER\Software\Microsoft\Windows\Curre ntVersion\Explorer\StreamMRU

You cannot edit this data, however! Delete both keys to reset it (make sure no Explorer windows are open first, though).

The above 2 keys are used in all versions of Windows (since 95/NT); Windows XP also uses the following keys, so you might want to delete these too:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell \Bags
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell \BagMRU
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell NoRoam\Bags
HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell NoRoam\BagMRU

Also, data on which groups are expanded in the 'task pane' (the pane on the left with groups like file/folder tasks, other places, details, etc) is stored in the following key:

HKEY_CURRENT_USER\Software\Microsoft\Windows\Shell NoRoam\DUIBags

Delete that to reset this data too.

Windows will only store so many of these entries before deleting old entries to make room for new ones. You can increase this value (I've no idea what the default is offhand, but it's stupidly low) using a program such as Cacheman - http://www.outertech.com/

Also, you might like to try a program that I wrote called CleanUp, which deletes the above registry keys and various other crap that clutters up the system (IE's cache, cookies, history, etc) - http://www.djtsoft.com/
vielleicht hilfts ja...

hier noch der link zur kompletten diskussion: http://bink.nu/forums/p/3622/3632.aspx

gruß
reli

Tommy1988 30. Sep 2007 13:12

Re: Fenstergröße beibehalten
 
Das Programm FreeSnap macht aber genau das, was ich meinte. Deswegen wollte ich ja fragen, wie das geht.

Tommy1988 30. Sep 2007 15:30

Re: Fenstergröße beibehalten
 
Das sollte jetz eigentlich ne Frage sien da oben..


Alle Zeitangaben in WEZ +1. Es ist jetzt 11:04 Uhr.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz