I try to create a toolbar using 256 color bitmaps. I checked the Kevin Bentley's tip in the Controls Related Source Code Sections. I have a little bit trouble to achieve this. Two questions:
1. In my MainFrm.cpp, I have lines reads:

if (!m_MyToolbar.Create(this) ||
!m_MyToolbar.LoadToolBar(IDR_MYTOOLBAR))
{
TRACE0("Failed to create My ToolBar\n");
return -1; // fail to create
}



I don't know where to put the suggested line.

m_wndToolBar.GetToolBarCtrl().AddBitmap(iNumButtons,IDR_MAINFRAME);



2. How do I create 256 color the Toolbar bitmap. Say, I have IDR_MYTOOLBAR in TOOLBAR resource ( 16 color), should I create a separate 256 color bitmap and import it to the Bitmap resource? How does this work?

Thanks for you help in advance.