windowsformparkingwindow problem

D

Dave Wasden

I have an MDI form with a panel that contains a ComboBox. I am clearing the
panel, and repopulating it with new controls as part of the app. Following
this if the application loses focus, then regains focus, the app goes into
"zombie mode" where you can't do anything on the form: the title bar is gray
and the app is locked up*. In the application switcher (alt-tab), there is a
new window listed with a title of "windowsformparkingwindow". If I do a
ctrl-f4, the combo drop down list (from the control that was cleared from
the original panel) appears on the screen. You can select an item from the
list, but no change in behavior from the app; it is inaccessible.

I have seen a few people with this problem on the Internet, but no
resolution. What causes this "windowsformparkingwindow", and how do I
destroy it?

*you can maximize and minimize the app window.
 
D

Dave Wasden

Well, no one responded, but I think I found a resolution. If focus is on a
combobox control when the panel on which it resides is cleared, then focus
somehow stays on the combobox via this "windowsformparkingwindow" window. If
you place focus on a textfield on the form, you can clear the panel, then
create new controls in the panel. Hope this helps someone.

Dave
 
A

Andy Block

Dave Wasden said:
Well, no one responded, but I think I found a resolution. If focus is on a
combobox control when the panel on which it resides is cleared, then focus
somehow stays on the combobox via this "windowsformparkingwindow" window. If
you place focus on a textfield on the form, you can clear the panel, then
create new controls in the panel. Hope this helps someone.

Dave

I don't suppose you are still following this thread, but in case you
are, I thought you might like to know that this explaination solved my
problem too... thanks! Regards,

Andy
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top