Hi all,

I have a „Multiple top-level documents“ application, which should show different file types: pictures, music, etc. Now I have a common tool bar with action available for all file types like “open”, “about” and some other toolbars, depending on what kind of files I open, something like:
IDR_MAINFRAME TOOLBAR 16, 15
BEGIN
BUTTON ID_FILE_OPEN
BUTTON ID_APP_ABOUT
END

IDR_PICTURE_TOOLBAR TOOLBAR 16, 15
BEGIN
BUTTON ID_ROTATE_PICTURE
BUTTON ID_ZOOM_PICTURE
BUTTON ID_BLA_PICTURE
END

IDR_MUSIC_TOOLBAR TOOLBAR 16, 15
BEGIN
BUTTON ID_STOP
BUTTON ID_PREVIOUS
BUTTON ID_PLAY
BUTTON ID_NEXT
END
Now I want to merge some of them, better say I want to insert one between 2 special buttons (in this case between open and about), so if I open a picture file I want to have a result like:

IDR_PICTURE_RES_TOOLBAR TOOLBAR 16, 15
BEGIN
BUTTON ID_FILE_OPEN
SEPARATOR
BUTTON ID_ROTATE_PICTURE
BUTTON ID_ZOOM_PICTURE
BUTTON ID_BLA_PICTURE
SEPARATOR
BUTTON ID_APP_ABOUT
END

Or a music file:

IDR_MUSIC_TOOLBAR TOOLBAR 16, 15
BEGIN
BUTTON ID_FILE_OPEN
SEPARATOR
BUTTON ID_STOP
BUTTON ID_PREVIOUS
BUTTON ID_PLAY
BUTTON ID_NEXT
SEPARATOR
BUTTON ID_APP_ABOUT
END

Knows somebody if this is possible or not? Maybe knows somebody a good sample? Thank you in advance!

Best regards,
Emil