i got a window with an image in it. but when its a little picture i first need to resize the window before i can see it, the screen doesnt refresh/repaint. how can i fix this?
                
                A: 
                
                
              
            This very much depends on what technology/tools you are using. On Windows, this is done by processing WM_PAINT message, or better, by using a 3rd-party control that does it for you.
                  Pavel Radzivilovsky
                   2010-06-09 09:46:21
                
              
                +1 
                A: 
                
                
              
            You can force a window to refresh by calling RedrawWindow
                  Anthony Williams
                   2010-07-13 20:37:12
                
              
                
                A: 
                
                
              
            to repaint you should use the InvalidateRect(). it will send message to WM_REPAINT to force it repaint
                  Ramiz Toma
                   2010-08-26 04:09:05