M
Michael Culley
This is fairly easy to reproduce, create a new exe project, add a second
form Form2, on Form1 add a button and put code under the button to show
form2 modally. Then in the activate event of form2 show a messagebox. Run
the project and click the button then click the OK on the messagebox that
pops up. For some reason the entire app jumps to the back of the z order. If
there are any other apps running then it looks like the app just disappears.
The only solution I could find was to put the messagebox in a timer. Does
anyone know of a better solution? Does anyone know why this happens?
Thanks
Michael Culley
form Form2, on Form1 add a button and put code under the button to show
form2 modally. Then in the activate event of form2 show a messagebox. Run
the project and click the button then click the OK on the messagebox that
pops up. For some reason the entire app jumps to the back of the z order. If
there are any other apps running then it looks like the app just disappears.
The only solution I could find was to put the messagebox in a timer. Does
anyone know of a better solution? Does anyone know why this happens?
Thanks
Michael Culley