Поделиться через


CToolBarCtrl::SetOwner

Sets the owner window for the toolbar control.

void SetOwner(
   CWnd* pWnd 
);

Параметры

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

Заметки

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

Требования

Header: afxcmn.h

См. также

Основные понятия

CToolBarCtrl Class

CToolBarCtrl Members

Hierarchy Chart

CToolBarCtrl::Create