CReBarCtrl::SetOwner

CWnd* SetOwner( CWnd* pWnd );

Return Value

A pointer to a CWnd object that is the current owner of the rebar control.

Parameters

pWnd

A pointer to a CWnd object to set as the owner of the rebar control.

Remarks

This member function implements the behavior of the Win32 message RB_SETPARENT, as described in the Platform SDK.

Note that this member function uses pointers to CWnd objects for both the current and selected owner of the rebar control, rather than handles to windows.

Note   This member function does not change the actual parent that was set when the control was created; rather it sends notification messages to the window you specify.

CReBarCtrl OverviewClass MembersHierarchy Chart