DispatchMessage taking frames away while moving window

Hi everyone!

lets start with the code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
	while(run)	
	{

		if (PeekMessage(&msg, win->win_handle,0,0,PM_REMOVE))
		{
			if (msg.message==WM_QUIT) 
			{
				run = 0;
			}
			else
			{
				TranslateMessage(&msg);
				DispatchMessage(&msg);
			}
		}
		else
		{
                     myframe();
		}   


I have created a basic window and i discovered that while resizing or moving my windows, the myframe() don't get any calls at all.

Is there anyway possible that myframe gets at least someof the calls while those things are happening

Thanks!
hm, anyone? :/
Topic archived. No new replies allowed.