I didn't express myself correctly, I am currently trying to figure out how
to actuall add the ToolBar, Buttons, and the code to handle the clicks.
Like ...
oWndMdi = NewMdi()
oToolBar = BuildBar()
oWndMdi.Controls.Add(oToolBar)
I am attemption to create some reusable code where I create the MDB Shell in
the visual editor, but the child dialogs are created during runtime and can
vary depending on the requirements. In another language I use the function
to be executed by the button is saved in a codeblock variable which is a
part of the button object, so dynamically adding buttons is easy, how do you
build this code to handle the button clicks where you may be createing
several Mdi Child windows, each of which will need their own button click
handler.
Byron...
"Cor Ligthert" <no************@planet.nl> wrote in message
news:u7**************@TK2MSFTNGP15.phx.gbl...
Byron,
I don't see what in this the MDI child is important.
I do the toolbar by setting a value in the tag field and set a select case
for the toolbar event than.
\\\
Toolbar event
Select case e.button.Tag
case mybutton1
case mybutton2
End Select
///
I hope this helps?
Cor