Just create it using CBRS_TOP style.
Code:
   DWORD dwStyle =  WS_CHILD | WS_VISIBLE | CBRS_TOP;
   VERIFY(m_dialogBar.Create(this, IDD_DIALOGBAR, dwStyle, AFX_IDW_DIALOGBAR));
No further other call.