I create a dialog bar with two buttons. I am trying to attach it on a
dialog box. however the dialog bar doesn't show up on dialog box.
the following is my code. I really appreciate your advices and help.
BOOL CMyDialogBox::OnInitDialog()
{
CDialog::OnInitDialog();
if (!m_DialogBar.Create(this, IDD_DIALOG1, CBRS_TOCBRS_TOOLTIPS |
CBRS_FLYBY, 7777))
{
TRACE0("Failed to create dialogbar\n");
return -1;
}
m_DlgBar.SetWindowPos(&wndTop,10,10,100,100,SWP_NO SIZE|SWP_NOZORDER);
:
:
:
}