toolbar buttons

When I have a tool bar on the main form of my MDI app, the buttons seem to
only work on the last child window that was open and not the window that is
on top.  My code works just fine when I have the tool bar on the child form,
but then I have a toolbar on each new child window.  There has got to be a
way to have the tool bar on the main form and still have access to the
active child form.  I would really appreciate some help.

Rick Allyn