42

 

Although in strict Windows terms it is usually called message-driven, rather than event-driven, programming.