Thema: Delphi UpdateLayeredWindow

Einzelnen Beitrag anzeigen

xaromz

Registriert seit: 18. Mär 2005
1.682 Beiträge
 
Delphi 2006 Enterprise
 
#2

Re: UpdateLayeredWindow

  Alt 26. Dez 2006, 15:48
Hallo,

diese Funktion ist in Deinem Delphi noch nicht definiert. Das musst Du selbst machen:
Delphi-Quellcode:
type
  PBlendFunction = ^TBlendFunction;

  _BLENDFUNCTION = packed record
    BlendOp: BYTE;
    BlendFlags: BYTE;
    SourceConstantAlpha: BYTE;
    AlphaFormat: BYTE;
  end;

  TBlendFunction = _BLENDFUNCTION;

function UpdateLayeredWindow(Handle: THandle; hdcDest: HDC; pptDst: PPoint; _psize: PSize;
  hdcSrc: HDC; pptSrc: PPoint; crKey: COLORREF; pblend: PBLENDFUNCTION; dwFlags: DWORD): Boolean; stdcall; external 'user32.dllname 'UpdateLayeredWindow';
Gruß
xaromz
I am a leaf on the wind - watch how I soar
  Mit Zitat antworten Zitat