Thanks, but it always sends a message to WM_SIZE even when I am resizing it.
All I want is just not updating window until I stop resizing it. any other way else?
Thanks, but it always sends a message to WM_SIZE even when I am resizing it.
All I want is just not updating window until I stop resizing it. any other way else?
Last edited by SuperNewbie; 05-19-2004 at 04:39 AM.
Don't laugh at me,I am just a SuperNewbie.
Thanks, it seems ok, but I met some problems:
it still didn't show the ellipse, seems WM_PAINT message has been sent serveral times after WM_EXITSIZEMOVE, but therotically, WM_PAINT only is called once in my mind, what's wrong with it !!Code:case WM_EXITSIZEMOVE: showData = TRUE; return 0; case WM_PAINT: hdc = BeginPaint (hwnd, &ps) ; GetClientRect (hwnd, &rect) ; if(showData) { Ellipse(hdc, 100, 100, 109, 109); } showData = FALSE; EndPaint (hwnd, &ps) ; return 0 ;
Don't laugh at me,I am just a SuperNewbie.