SECLayoutDockFactory::CreateDockingWrapper
Create a dockable gripper wrapper object
Defined in: DockFactory.cpp
Syntax
CreateDockingWrapper(CWnd* pParentWnd,SECLayoutNode* pNodeToWrap,LPCTSTR lpszTitle,DWORD dwGripperStyle)
CreateDockingWrapper(CWnd* pParentWnd,const SECLayoutNodeBaseDCClassFactory& classWrapper,SECLayoutNode* pNodeToWrap,LPCTSTR lpszTitle,DWORD dwGripperStyle)
Return Value
Pointer to the newly created dockable gripper. Memory management is automatic, caller should *not* deallocate.
Parameters
pParentWnd
Parent window of the dockable wrapper
pNodeToWrap
Layout node object to wrap in a dockable gripper node object.
lpszTitle
Title for this docking wrapper. The title will be displayed when floating.
dwGripperStyle
This flag is currently unused and reserved for future growth.
classWrapper
Runtime class name for wrapper instantiation. Caller can utilize the NODEDC_CLASS(ClassName) macro for parameter passing.
Comments
This function will wrap a non-dockable layout node in a docking gripper parent wrapper that can then in turn be docked or floated using SECFrameDockingFeatureBase::DockNode or SECFrameDockingFeatureBase::FloatNode