Einzelnen Beitrag anzeigen

CalganX

Registriert seit: 21. Jul 2002
Ort: Bonn
5.403 Beiträge
 
Turbo Delphi für Win32
 
#5

Re: Mit DrawIcon transparent zeichnen

  Alt 18. Mai 2007, 13:09
Hi,
dummerweise hat mein Icon die gleiche Herkunft wie bei dir. *g*

Naja, ich lasse es jetzt erstmal so:
Delphi-Quellcode:
        imgAppIcon.Canvas.Brush.Color := clBtnFace;
        DrawIconEx(imgAppIcon.Canvas.Handle, 15, 15, fApplicationInfo.AppIcon,
          0, 0, 0, imgAppIcon.Canvas.Brush.Handle, DI_NORMAL);
        imgAppIcon.Canvas.FloodFill(0, 0, clWhite, fsSurface);
Funktionieren tut's ja.

Chris
  Mit Zitat antworten Zitat