D
Dave
I have created a large MDI app that just stops working at random times,
often when focus leaves the app, then comes back, but it can happen anytime.
The Main form is still there and everything, when it is in this state, but
the main form's title bar and the mdi child form's titile bar are grayed
out. You can't close the app using the buttons; I have to go kill the
process to get it to close. I thought it was in a loop, but when I hit pause
in Visual Studio while debugging, I can see that the app is just sitting
there asleep (Visual Studio shows the "Application.Run(new form());" line in
Main() as the current line), and the processor/memory is not going crazy.
Has anyone seen this kind of freeze. The only thing I can do when my app is
in this state is double-click the title bar of the main form, which switches
the app from maximized to restore and back.
often when focus leaves the app, then comes back, but it can happen anytime.
The Main form is still there and everything, when it is in this state, but
the main form's title bar and the mdi child form's titile bar are grayed
out. You can't close the app using the buttons; I have to go kill the
process to get it to close. I thought it was in a loop, but when I hit pause
in Visual Studio while debugging, I can see that the app is just sitting
there asleep (Visual Studio shows the "Application.Run(new form());" line in
Main() as the current line), and the processor/memory is not going crazy.
Has anyone seen this kind of freeze. The only thing I can do when my app is
in this state is double-click the title bar of the main form, which switches
the app from maximized to restore and back.