e4monsch
asked on
Problems with DialogBox (ShowModel)
I have a dialogbox which is displayed by the MainForm. And in a second thread I set the ShowModel.Result to mrOk. The dialogbox should disapeare now. But it wont. I have to move the mouse cursor first befor the dialogbox disapers.
How can I get rid of this effect?
Points will be increased depending on your answer.
Regards Ian
How can I get rid of this effect?
Points will be increased depending on your answer.
Regards Ian
If you set ModalResult to mrOK the dialog box disapeare and this is ok. Can't you move cursor before setting ModalResult ? I can't understand what you need.
ASKER
The problem is that the dialog box does not disapere by it self, when I set the ModalResult to mrOK. I have to move the mouse cursor (after setting mrOK) to help the dialog box to disapere.
Do you know what I mean?
Do you know what I mean?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.