From: David Webber on
Sudden illumination (bright enough to start a new thread):

Could it be that when the AppWizard writes:

===
const int iMaxUserToolbars = 10;
const UINT uiFirstUserToolBarId = AFX_IDW_CONTROLBAR_FIRST + 40;
const UINT uiLastUserToolBarId = uiFirstUserToolBarId + iMaxUserToolbars-1;
....
InitUserToolbars(NULL, uiFirstUserToolBarId, uiLastUserToolBarId);
===

this is designed so that the user of *my* program can create new toolbars
which are supported by a CFrameImpl down within the frame window class?

CFrameImpl is documented as "internal - do not worry about it", but the
source code (with its sparse comments) may imply that this is what it's
about. That would mean the range of IDs [uiFirstUserToolBarId,
uiLastUserToolBarId] is reserved for those toolbars.

All this time I was thinking that a user toolbar was one designed by me -
the user of Visual Studio :-(

So onward and upward. Now I need t work out how the CMFCToolbar
customisation works. Pointers to documentation still very welcome.

Dave

--
David Webber
Mozart Music Software
http://www.mozart.co.uk
For discussion and support see
http://www.mozart.co.uk/mozartists/mailinglist.htm