Which GDI function is best for, or commonly used for setting a single pixel?
Which GDI function is best for, or commonly used for setting a single pixel?
SetPixel works well.
Thanks. I see it is a bitmap function.
I have been unable to search at msdn for some reason.
That could be it. I never registered, as I have been able to access everything.
I can see the lessons, look at all the functions, download stuff, etc.
Also I just tried using bing directly from bing.com (searched "msdn setpixel")
and found the msdn page for the function immediately.
Just doesn't work from within the msdn site. Or is there another search at
the msdn site?
It looks like the SDK is for Vista and later, though? I am using XP.
Don't let that stop you. Each function is indexed by operating system version, library, header and dll support... Just don't be using anything newer than XP...
Matter of fact, I work on Win7 (not by choice!) and still write for win2000 whenever possible. Backwards compatibility does matter.