Question: Supposewe have a drawing application in which there is an overlappedwi
ID: 3611156 • Letter: Q
Question
Question:Supposewe have a drawing application in which there is an overlappedwindow and a button with text “Clear” on it. Wheneverthis button is clicked all the drawings on the window should beerased. Write down the mechanism of clearing the drawings from ourwindow Question:
Supposewe have a drawing application in which there is an overlappedwindow and a button with text “Clear” on it. Wheneverthis button is clicked all the drawings on the window should beerased. Write down the mechanism of clearing the drawings from ourwindow
Explanation / Answer
Dear, when we are clear the content of the window in visualprogramming.Then we Use Invalidate() function to erase the entire contents of window. and it alsocall WM_PAINT message to redrawthe client area
// Invalidate function
void Invalidate( BOOL bErase = TRUE ); I hope this is helpful foryou...... I hope this is helpful foryou...... I hope this is helpful foryou...... Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.