Delphi-PRAXiS
Seite 2 von 2     12   

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   MAINICON laden (https://www.delphipraxis.net/147254-mainicon-laden.html)

terence14 31. Jan 2013 15:31

AW: Re: MAINICON laden
 
Zitat:

Zitat von Uwe Raabe (Beitrag 995500)
Am einfachsten geht es über
Delphi-Quellcode:
Application.Icon

Application.Picture.Icon

:)

MfG,
terence

lbccaleb 31. Jan 2013 19:40

AW: MAINICON laden
 
Ich hätte noch:

Delphi-Quellcode:
MsgInfo.lpszIcon := Pointer(LoadIcon(GetWindowLong(hParent, GWL_HINSTANCE), IDI_APPLICATION));
Nicht getestet...

samso 2. Feb 2013 16:53

AW: MAINICON laden
 
Ich will nicht ausschließen, dass ich dem völlig falschen Dampfer bin, aber ist die IconId für das default application icon nicht konstant 32512?
nee, keine Lösung -> MsgInfo.lpszIcon := IDI_APPLICATION wurde schon probiert


Alle Zeitangaben in WEZ +1. Es ist jetzt 14:15 Uhr.
Seite 2 von 2     12   

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