Funktioniert das Ganze so richtig? oder hab ich da was falsch gemacht ?
Delphi-Quellcode:
var
DC, hWnd: Cardinal;
begin
Enter := false;
hWnd := GetDesktopWindow;
DC := GetDC( hWnd );
color1 := GetPixel(
DC,550,515);
R := GetRValue(color1);
G := GetGValue(color1);
B := GetBValue(color1);