Form button causes brief flash to non-AutoCAD window. Focus has briefly moved?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
This is my first .NET application. It is essentially complete except for one annoying behavior. There is a window flash.
This application shows a form. From this form it is possible to display a second form used for entering a value. The first form is visible but disabled when the second form is showing. A button on the second form commits the user's entry, which results in new entry showing up in the first form and closing out the second form and enabling the first form. Windows briefly switches to some other non-AutocAD window that happens to be open when the second form closes. It might be an Explorer window, it might be an open Word document, it might even be a window that is open on a second monitor. There would be an AutoCAD screen flash if the window coming temporarily into focus was behind the AutoCAD window. The two buttons on first form, including the one that closes the first form and also a user datagridview pick event that also closes the first form do not result in the screen flash.
This must be something simple causing this. I would like to know what it is if anyone would know off hand. I am not interested in changing the entry interface scheme to eliminate the second form as a workaround. I'll do that if this screen flash is unavoidable. At this point I figure its something simple resulting from sheer ignorance.
Thank you