Hour 18. Events and Delegates

   

Events play a crucial role within the computer industry. Events within a computer can range from the high-level task of clicking a button, all the way to the low-level interrupts thrown by the computer processor. Within the last several years, events within the Windows family of operating systems have consisted largely of window message and the associated message handlers. When ATL finally arrived on the scene, programmers were introduced to connection points between two or more COM objects. Visual C++ .NET continues the logical progression of events to the next level by creating the Unified Event Model, which greatly simplifies the creation and handling of events within COM objects, managed classes, and even native C++.

In this hour you will learn:

  • How the Unified Event Model is architected

  • How to create and use delegates

  • How to create events and handle them within managed and native C++


   
Top


Sams Teach Yourself Visual C++. NET in 24 Hours
Sams Teach Yourself Visual C++.NET in 24 Hours
ISBN: 0672323230
EAN: 2147483647
Year: 2002
Pages: 237

Similar book on Amazon

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net