Hi,
I am new to emwin. I have attached my Simulation Source code and binaries. When i remove while loop from WM_PAINT event, button works as soon as line drawing is finished.
But when i add while loop inside WM_PAINT event button doesn't works.. How to avoid this ?? How can i make button work even with while loop i.e. when line is being drawn ?
Please find attached code.
I am new to emwin. I have attached my Simulation Source code and binaries. When i remove while loop from WM_PAINT event, button works as soon as line drawing is finished.
But when i add while loop inside WM_PAINT event button doesn't works.. How to avoid this ?? How can i make button work even with while loop i.e. when line is being drawn ?
Please find attached code.