Anonymous user
Color of a screen pixel: Difference between revisions
m
→{{header|C}}: winApi
(→{{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>
POINT p;
COLORREF color;
|