Coupling a window handle with a data object
This small tutorial will teach you how to use a windows hook to catch the creation of a window in order to couple the window handle with a data object. This is very useful when creating wrapper classes for windows.
Also hosted on Programmer's Heaven.