How to set up the drawing area in the click function by Mfc

I know that there is an InvalidateRect setting area in onpaint, but if you can only draw on CClientDC directly when clicking on the function, how to set the drawing update area

Jun.18,2021
Menu