句柄类(智能指针smart point)是存储指向动态分配(堆)对象指针的类。
通用句柄类型 HANDLE
泛型句柄类 generic handle class
允许标记对象句柄类型 Eot Enable Object Handle Type Tagging
类型句柄 TypeHandle ; typeHandlers
行为类型句柄 Action-Type Handlers
获取该句柄窗口的类名 GetClassName
清单 7中的这个文件是 清单 6中的事件句柄类的实际实现。
This file in Listing 7 is the actual implementation of the event-handler class in Listing 6.
为了使清单5中的程序成为完整的应用程序,需要添加清单6中的事件句柄类。
To make the program in Listing 5 a complete application, you need to add the event-handler class in Listing 6.
对于每个项类型,存在一个单独的项句柄类,用于表示对该类型的项的引用;项句柄由项类型和项id组成。
For each item type there is a separate item handle class used to represent references to items of that type; item handles consist of item type and item id.
应用推荐