![]() |
StretchDraw & Icon geht nicht ?
Hi,
Mal 'ne Frage, ich möchte ein Applocation.Icon mit StretchDraw in einen best. Bereich darstellen. Doch mit:
Delphi-Quellcode:
wird das Icon in voller Grösse (32x32) dargestellt.
//...
Canvas.StretchDraw(RECT(0, 0, 16, 16), Application.Icon); Ich wollte es vermeiden das ich noch extra ein Bitmap für das Icon anlegen muss. Ich möchte nur das kleine 16x16 Icon des Applications Icons. ExtractIconEx ist ja nun och eine Variante aber muss das sein ? Wer weis was ? |
Re: StretchDraw & Icon geht nicht ?
Delphi-Quellcode:
Ist das was ich suchte.
DrawIconEx(Canvas.Handle, 0, 0, Application.Icon.Handle,
16,16, 0, 0, DI_NORMAL); |
Alle Zeitangaben in WEZ +1. Es ist jetzt 21:40 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