|
From: Jorge A. <jab...@ma...> - 2003-03-17 11:48:06
|
Hi, I am new here and this is my problem:
1) I am developing a simple program to show some formatted data on the screen (ASCII X; Y).
2) Everything is ok until I resize the screen, then it goes white.
3) if I trap the WM_PAINT message and set UpdateWindow(), then the screen starts up gray.
4) I tried to use within WM_PAINT, Beginpaint, Getclientrect, Fillrect, to bring back the whith color of the child window. But it didn't work.
5) the data I need to show is:
if(Number_of_Points!=0)
{
for (loop=0; loop<Number_of_Points; loop++)
{
sprintf (temp,"%6.2f",x[loop]);
sprintf (temp2,"%6.2f",y[loop]);
TextOut(hdc, 2,line,temp, 6);
TextOut(hdc, 80, line,temp2,6);
paintline+=13;
}
}
Any clues? Example codes? tutorials? HELPP!!!!!!!! and then thanks.
je
|