Andrew Peace
June 29th, 1999, 12:18 PM
Hi all,
I have a dialog bar that is derrived from CInitDialogBar that is available on this website. When I come to create it and dock it, it works fine. However, when I do the same in an in place frame window it asserts. I use the pWndFrame parameter of OnCreateControlBars() for the parent, and then call m_dlgBar.SetOwner(this).
I am using MFC with Visual Studio 97.
Thanks very much for your help!
I have a dialog bar that is derrived from CInitDialogBar that is available on this website. When I come to create it and dock it, it works fine. However, when I do the same in an in place frame window it asserts. I use the pWndFrame parameter of OnCreateControlBars() for the parent, and then call m_dlgBar.SetOwner(this).
I am using MFC with Visual Studio 97.
Thanks very much for your help!