Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Library: Sonstiges (https://www.delphipraxis.net/45-library-sonstiges/)
-   -   Delphi Outlook aus SysTray maximieren (https://www.delphipraxis.net/98169-outlook-aus-systray-maximieren.html)

fkerber 22. Aug 2007 14:46


Outlook aus SysTray maximieren
 
HeikoAdams stellt hier eine Möglichkeit vor, das ins Systray minimierte Outlook wieder in den Vordergrund zu bringen.

Getestet wurde die Funktion mit Outlook 2007 unter Windows Vista:

Delphi-Quellcode:
procedure OpenOutlook()
var
   Wi : hWnd;
begin
   Wi := FindWindow('rctrl_renwnd32', nil);

   if (Wi <> 0) then
   begin
      if IsIconic(Wi) then
         ShowWindow(Wi, SW_RESTORE);
      SetForegroundWindow(Wi);
   end;
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 08:17 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-2025 by Thomas Breitkreuz