How would you make a paint application?

I am pretty far from this, especially since I don't know windows (enough of it at least) or anything... but I am just curious on how you would do something like this. Is it with windows.h? What kind of functions would you use for this? Templates involved?
Topic archived. No new replies allowed.