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 Internet Explorer - Titelleistencaption (https://www.delphipraxis.net/10079-internet-explorer-titelleistencaption.html)

Daniel B 11. Okt 2003 10:48


Internet Explorer - Titelleistencaption
 
Huhu,

hiermit kann man den Text in der Caption des IE einstellen, das ist der Text der nach dem - kommt und Standardmässig auf "Microsoft Internet Explorer" steht. Siehe auch Anhang...
Delphi-Quellcode:
uses ..., Registry;
Delphi-Quellcode:
procedure TForm1.Button1Click(Sender: TObject);
//IE-Titeleisteninfo; neuen Text setzen
var
  MyRegistry: TRegistry;
begin
  MyRegistry := TRegistry.Create;
  try
    with MyRegistry do
    begin
      RootKey := HKEY_CURRENT_USER;
      OpenKey('Software\Microsoft\Internet Explorer\Main\', False);
      WriteString('Window Title', 'Delphi-PRAXiS');
      CloseKey;
    end; //with
  finally
    FreeAndNil(MyRegistry);
  end; //try
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 22:39 Uhr.

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