CLayoutManager Class
class CLayoutManager: public CLayoutManagerBase
The actual LayoutManager class. Implements the pure virtual functions defined in CLayoutManagerRootBase in terms of the most derived class in the hierarchy, passed as the first template parameter. Mix in this class as a ancestor of your window classes in order to provide layout managemente functionality.CContainerWindow provides a prebuilt base class for this kind of window, and can be used as base class for frame windows, dialogs or ActiveX controls. Customized windows with layout logic can include this class directly in their list of base classes and delegate their messages to it.
It is important to notice that it is essential for the well functioning of the class that the _initMessage passed as the second template parameter not be absorbed by any derived class in its route here. If any class neeeds to perform additional process as part of that message handler, it can do so as long as the bHandled flag in ATL is set to false.
Defined in: LayoutManager.h
Class Template Arguments
_T
Actual type of the most derived class using CLayoutManager as a mixin.
initMessage
Message on which response the layout initialization process must be performed. Default is WM_CREATE.