I am trying to make a win32 program which uses an array of data that then gets put on the window. That way I can do my drawing on the array and then bitblt it or something to the screen. How would I do this. Also how many bytes of data does it take to represent a color in windows.

Is this http://www.codeproject.com/KB/cpp/DoubleBuffering.aspx something like what you are looking for? (I don't know much more than the term itself). I'm not sure the answer to your second question.

That was sort of helpful, but I guess I would be able to do It if I knew more about how the HDC struct is. Because what I mostly want is to directly modify the HDC. So do you or anyone else know how to do this?

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.