CToolbar

Sep 19, 2008 at 10:28am
Hi

I am using some propety pages in wizard mode, on one of my pages i am using a toolbar

The first time you use the wizard it all works fine

if you run the wizard again, the toolbar fails to load correctly

The toolbar appears to be there, but there are no images shown on any of the buttons

I am creating the toolbar in the oninitdialog() of the property page using

if(!m_toolBar2.Create(this) || !m_toolBar2.LoadToolBar(IDR_TOOLBAR2))
AfxMessageBox("Failed");

It appears to fail on the LoadToolBar part

Can anyone help at all ?

thanks

Simon
Topic archived. No new replies allowed.