Routing Events and Commands
Apress eBooks · 2009
Windows programming is event driven , which means that while a program is running, it can be interrupted at any time by user actions or system actions such as button clicks, key presses, or system timers. When this happens, the program needs to handle the event and then continue on its course. If you want your program to perform some set of tasks when a particular event occurs, you must write a method, called an event handler , to be called when the event occurs. These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.