Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Event Handling Keywords

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.

Topic Description
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.

See Also

C++ Language Reference | C++ Keywords

Show:
© 2015 Microsoft