Device Contexts, Bitmaps and WM_SIZE

Hey there,
If I have a compatible bitmap and device context associated with my window and I want the window to be realizable, do I have to recreate the bitmap and/or device context (when the window resizes)?
Or will they still function the same?

I assume I have to at least redo the bitmap size, otherwise it won't BitBlt() properly.
Last edited on
That's right. DCs don't have dimensions so you can't actually resize them.
So changing the size of a window doesn't make the device context any less compatible?
Okay, cool.
Topic archived. No new replies allowed.