Jump to content

Color of a screen pixel: Difference between revisions

m
(→‎{{header|C++}}: This most certainly is C++/CLI)
m (→‎{{header|C}}: winApi)
Line 14:
 
=={{header|C}}==
{{works with|Windows}}. It uses Windows API
 
<lang c>COLORREF getColorAtCursor(void) {
 
<lang c>
#include <windows.h>
 
<lang c>COLORREF getColorAtCursor(void) {
POINT p;
COLORREF color;
Cookies help us deliver our services. By using our services, you agree to our use of cookies.