Autor Beitrag
LonghornUser
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Mi 22.08.07 08:42 
Hallo,

ist es möglich, per Delphi-Programm andere (fremde) Fenster (nicht Prozesse) zu verstecken, sodass sie vom Desktop verschwinden und auch nicht mehr in der Taskleiste erscheinen ?

Es geht darum, schnell überflüssige Firefox-Windows zu verstecken. Sie sollen aber nicht verschwinden, man sollsie irgendwann (in der aktuellen Windows-Session) wiederherstellen können.

Ist so etwas möglich ? Am besten wäre, das ganze nach fenstertitel zu machen.

Ciao LHUser
LonghornUser Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 796



BeitragVerfasst: Fr 24.08.07 09:48 
Kann mir denn keiner weiterhelfen ? :(
Saubäär
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 376



BeitragVerfasst: Fr 24.08.07 12:33 
Moin,

hab grad kein Delphi zur Hand aber mit ner Kombination aus FindWindow(); und ShowWindow(); sollte das zu bewerkstelligen sein.

Gruß
Steve1024
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 141

Windows 2K, XP, 7 & Server 2003 - 2008; Linux (Ubuntu, Fedora)
D7, D05, D06, D09, DXE
BeitragVerfasst: Sa 25.08.07 18:36 
Jup...

versuche: FindWindowEx und dann auf das Handle den ShowWindow mit SW_SHOW oder SW_HIDE anzuwenden.

Das müsste funktionieren.