B
Bill Albert
Hi,
I'm creating a dialog that needs more controls than a simple MessageBox. I
don't want it to take up the whole screen and I would like it to be movable
by the user (just like a MessageBox).
I've created a Form and set FormBorderStyle to None.
I call it using ShowDialog. ShowDialog is modal and blocks the calling
form - that's good. The Dialog box works fine. The problem is that if I
click on an area outside of my dialog box, my dialog box loses focus and the
calling form is brought to the front.
How can I block any clicks outside of my dialog box while it's open?
Thanks,
Bill Albert
ObTech
I'm creating a dialog that needs more controls than a simple MessageBox. I
don't want it to take up the whole screen and I would like it to be movable
by the user (just like a MessageBox).
I've created a Form and set FormBorderStyle to None.
I call it using ShowDialog. ShowDialog is modal and blocks the calling
form - that's good. The Dialog box works fine. The problem is that if I
click on an area outside of my dialog box, my dialog box loses focus and the
calling form is brought to the front.
How can I block any clicks outside of my dialog box while it's open?
Thanks,
Bill Albert
ObTech