Advantages of Using Window Properties

Window properties are typically used to associate data with a subclassed window or a window in a multiple document interface (MDI) application. In either case, it is not convenient to use the extra bytes specified in the CreateWindow function or class structure for the following two reasons:

For more information about subclassing, see Window Procedure Subclassing. For more information about MDI windows, see Multiple Document Interface.