G
greg
I've got an application, and I'm poping up a form modally using
TestForm aForm = new TestForm();
aForm.ShowDialog(this);
It works fine.
If I click outside the area of the modal form on the other form, it does not
give the other form focus. Good! It also does an error beep once, also good.
However, it causes the taskbar button and the title bar of the modal form to
flash rapidly. And not once or twice, but 20-30 times, and clicking on the
modal form or even typing in a text box in the modal form doesn't make it
stop, it just seems to stop after an arbitrary amount of time.
Am I doing this modal form properly, and if so, why is this happening? It's
rather annoying. A simple beep and flashing the button/titlebar 3 times like
most other windows applications would be fine
Thanks,
Greg
TestForm aForm = new TestForm();
aForm.ShowDialog(this);
It works fine.
If I click outside the area of the modal form on the other form, it does not
give the other form focus. Good! It also does an error beep once, also good.
However, it causes the taskbar button and the title bar of the modal form to
flash rapidly. And not once or twice, but 20-30 times, and clicking on the
modal form or even typing in a text box in the modal form doesn't make it
stop, it just seems to stop after an arbitrary amount of time.
Am I doing this modal form properly, and if so, why is this happening? It's
rather annoying. A simple beep and flashing the button/titlebar 3 times like
most other windows applications would be fine
Thanks,
Greg