Farbwert eines Pixels
-
Greetings,
wie kann ich an den Farbwert eines bestimmten Pixels des Bildschirmes kommen ?
Gruß
Finn
-
HDC hDC = GetDC( NULL ); if ( hDC ) { COLORREF color = GetPixel( hDC, x, y ); DeleteObject( hDC ); };
-
Fein, danke

-
DeleteObject ist glaub' nicht ganz das Richtige:
After painting with a common DC, the ReleaseDC function must be called to release the DC. Class and private DCs do not have to be released.
Was mir da gerade aufgefallen ist: Was genau sind eigentlich "Class and private DCs"
