Adding continously - but how?
Are you using a loop in the same thread? If yes, you cannot handle the Stop event that easily. The event would not be raised, since message-pump will not get time to process the user's action. You either need to call
PeekMessage
within the loop, or make your program multithreaded.
Read this article:
The Practical Guide to Multithreading - Part 1[
^]