I'm drawing stuff inside a CStatic Ctrl window by getting its device context and calling pdc->SetPixel, pdc->PolyLine functions. I want to refresh the contents of the CStatic window (by pressing a refresh button). Calling Invalidate() does not seem to do it. What am I missing?? Thanks
