CToolBarCtrl::SetOwner

Sets the owner window for the toolbar control.

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

The owner window is the window that receives notifications from the toolbar.

Requirements

Header: afxcmn.h

See Also

Reference

CToolBarCtrl Class

Hierarchy Chart

CToolBarCtrl::Create

Other Resources

CToolBarCtrl Members