CToolBarCtrl::SetOwner

void SetOwner( CWnd* pWnd );

Parameters

pWnd

Pointer to the CWnd or CWnd-derived object that will be the new owner window for the toolbar control.

Remarks

Call this function to set the owner window for the toolbar control. The owner window is the window that receives notifications from the toolbar.

CToolBarCtrl OverviewClass MembersHierarchy Chart

See Also   CToolBarCtrl::Create