How to draw in a window that is dragged

Hello !

I have a problem: I am writing a windows opengl application in a window and the application freezes when the window is being dragged on the screen. The problem is that when I do that my message loop freezes (I don’t get any messages).
Do you know what can I do do remedy that ?

Hi,

Have u repaint the window in timer function?

Hi !

Which os are you using (95/98/Me/W2k/XP) ?

Does other applications work when you drag them around ? this feature can be enabled/disabled so if you turn it of you will not get any repaints while dragging.

Mikael