Einzelnen Beitrag anzeigen

Benutzerbild von Stanlay Hanks
Stanlay Hanks

Registriert seit: 1. Mär 2003
2.078 Beiträge
 
Delphi 2005 Professional
 
#6

Re: Icon in die TNA einfügen

  Alt 10. Feb 2005, 20:58
Das steht in dem Artikel auch

Hab grade kein Delphi da, aber hab mal schnell was in c# zusammen gezimmert, funktioniert auch.

Code:
DlgOpen.ShowDialog();
string AIconFile = DlgOpen.FileName;
System.Drawing.Icon AIcon = new System.Drawing.Icon(AIconPath);
notifyIcon1.Icon = AIcon;
notifyIcon1.Visible = true;
notifyIcon1.Text = "Test Icon";
Man liest sich, Stanlay
  Mit Zitat antworten Zitat