GDI-Paint - Why does it stop working? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 3

GDI-Paint - Why does it stop working?

I have this GDI Paint program (nothing new for now) : https://github.com/kinshuk-h/GDI-Paint I tried drawing on the screen and it works. The size is also changing when I press the '+' key and the color is alterable via the Ctrl+B and Ctrl+F keys (Background and Foreground respectively). But when I continue drawing for more than 5 minutes, a strange thing happens. The pen's size and color, no matter what it was, automatically resets to default. The same happens to the eraser, but it becomes black instead of default white. Plus, I am then no longer able to change the size or colors, and even the close, minimize and restore buttons stop working. The menu becomes non-accessible, and to end the program, I have to use the task manager. I am still not able to find out why this happens. Please help!

22nd Aug 2017, 10:22 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
4 Answers
+ 5
@Melih Melik Sonmez I created that myself, how can it be a trial version? Im the developer! I should have full rights on my program!
22nd Aug 2017, 10:54 AM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 3
as i said i made a joke ; it was humor... i just want you to smile only :)) take it from a good side you can use this edition for trial edition ;)
22nd Aug 2017, 11:05 AM
Melih Melik Sonmez
Melih Melik Sonmez - avatar
+ 3
Sorry I didn't get that... I am desperately waiting for an answer...
22nd Aug 2017, 2:53 PM
Kinshuk Vasisht
Kinshuk Vasisht - avatar
+ 1
maybe it was non full version some trial version of applications do that ;) i hope you like my sense of humor. i will fork and do my best pal!
22nd Aug 2017, 10:41 AM
Melih Melik Sonmez
Melih Melik Sonmez - avatar