Good day guys
im creating a dialog-based program and i need my dialog box to draw lines.
my problem is, i want to have a white rectangular box and inside it i want to overlap it with line graph.
everytime WM_PAINT occurs, the rectangle i made overrides the previous line so i dont see the whole line graph instead i see the last line drawn after the execution of OnPaint().
Please help me!!
For short, i want have a line graph with white rectangular box everytime i get data. Real-time acquisition of data is needed in this project, and i want to graph this data using the OnPaint().
thanks.
im creating a dialog-based program and i need my dialog box to draw lines.
my problem is, i want to have a white rectangular box and inside it i want to overlap it with line graph.
everytime WM_PAINT occurs, the rectangle i made overrides the previous line so i dont see the whole line graph instead i see the last line drawn after the execution of OnPaint().
Please help me!!
For short, i want have a line graph with white rectangular box everytime i get data. Real-time acquisition of data is needed in this project, and i want to graph this data using the OnPaint().
thanks.