Export (0) Print
Expand All
2 out of 2 rated this helpful - Rate this topic

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
Show:
© 2014 Microsoft. All rights reserved.