How do I Use WM_PAINT?

I'm very new to Windows API programing, and I'm trying to make a program. But before I can actually do anything, I need to know how to use WM_PAINT to make simple graphics, like lines, circles, etc (I googled it and couldn't find anything)?
What google query did you use?

When I google for "how to use wm_paint", my first hit is:

Using the WM_PAINT Message
http://msdn.microsoft.com/en-us/library/dd145193%28v=vs.85%29.aspx

Knowing how to find info on the web is an important skill for a programmer. If you couldn't manage this one, it seems you need more a lot practice at it!!
Last edited on
+1 @andywestken. You can also use www.lmgtfy.com. It's hilarious and clearly expresses the point. :-P
Topic archived. No new replies allowed.