Triang3l
Triang3l

Reputation: 1238

Changing pixels of Win32 window

I know that this may be common knowledge, but is there a way to edit RGB values of pixels of Windows window from C/C++ without using libraries like OpenGL or DirectX? If there is, what are the built-in functions to manipulate pixel buffer directly?

Upvotes: 1

Views: 534

Answers (1)

David Heffernan
David Heffernan

Reputation: 613511

In your WM_PAINT handler you can call SetPixel.

Upvotes: 6

Related Questions