|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
Event Handling Keywords
Visual C++ includes attributes and keywords for declaring events and event handlers. The event attributes and keywords can be used in managed programs and in native C++ programs.
Event Handling in Visual C++ discusses how to use event handlers, event sources, and event receivers, and contains Visual C++ code examples.
|event_source||Creates an event source.|
|event_receiver||Creates an event receiver (sink).|
|__event||Declares an event.|
|__raise||Emphasizes the call site of an event.|
|__hook||Associates a handler method with an event.|
|__unhook||Dissociates a handler method from an event.|