SECLayoutDockFactory::CreateDockableNodeDC

Create a dockable layout node

Defined in: DockFactory.cpp

Syntax

CreateDockableNodeDC(CWnd* pParentWnd,LPCTSTR lpszTitle=NULL,SECLayoutNode** ppNodeDC=NULL,DWORD dwGripperStyle=0)

CreateDockableNodeDC(CWnd* pParentWnd,const SECLayoutNodeDCClassFactory& classNodeDC,LPCTSTR lpszTitle=NULL,SECLayoutNode** ppNodeDC=NULL,DWORD dwGripperStyle=0)

Return Value

Pointer to the docking wrapper of the newly created DC node. Memory management is automatic, caller should *not* deallocate.

Parameters

pParentWnd

Parent window of the new dockable node

lpszTitle

Title for this docking wrapper. The title will be displayed when floating.

ppNodeDC

Back pointer to the nested newly created DC node in case furher initialization is needed.

dwGripperStyle

This flag is currently unused and reserved for future growth.

classNode

Runtime class name for dockable DC node instantiation. Caller can utilize the NODEDC_CLASS(ClassName) macro for parameter passing.

Comments

This function will create a new layout DC node and wrap it in a dockable gripper wrapper. The dockable gripper wrapper is returned and should be utilized in any docking operation. The ppNodeDC back pointer is provided if further customization of the newly created node is required.

See Also

CreateDockableNode

SECFrameDockingFeatureBase::DockNode

SECLayoutFactory::CreateNodeDC