1. Child Window Won't Show (Inverted Deja vu?)
- Posted by wynco Aug 07, 2011
- 1190 views
Dereks work-around for 'Child window won't close' works great. It has uncovered another similar but opposite problem.
After destroying the status window, my program opens a report window. If I click show desktop during execution and come back after it's done, the status window is destroyed, but the report window is not visible and the program is locked.
I think this is happening because when windows hides my program it is the only window visible, so when windows makes my program visible again it does not know it has opened a child window, and my program thinks the child window is visible and waits for user input.
I have a work around. I changed the report window to open as a normal window and then added a line to the encrypt menu to 'Show report'. This works but it would be better if the report window was visible upon return.
2. Re: Child Window Won't Show (Inverted Deja vu?)
- Posted by DerekParnell (admin) Aug 08, 2011
- 1133 views
I think this is happening because when windows hides my program it is the only window visible, so when windows makes my program visible again it does not know it has opened a child window, and my program thinks the child window is visible and waits for user input.
Yep, I think you're right. I'm assuming that there is some sort of message that Windows broadcasts to all apps when it hides and shows the desktop. I'll do some research about this.