I'm trying to use a dibSection to draw simple shapes, etc. on a window. It's kind of working, but it always draws them from 0, 0 of the whole screen (as opposed to local 0, 0 of the window itself).
I think it might be something to do with device contexts.
Does anybody know of any likely errors I could have made?