FillRect question

Why doesn't FillRect work in WM_CREATE but works in WM_PAINT?
Because when a window is ready to be painted it sends the WM_PAINT message. The WM_CREATE is sent before the WM_PAINT message so it isn't ready at WM_CREATE.

You don't sand the tree before you cut it down.
Topic archived. No new replies allowed.