Three forms
Form1 ShowModal Form2,
Form2 ShowModal Form3,
As a result, sometimes Form3 is hidden behind Form2, and there are many times in XP.
In the following cases, XP often appears: (Form2 is larger than form3, full coverage)
After the Form2 is turned on, perform a period of operation, then open Form3. If the Form3 is switched to another application when the Form2 is opened, the FORM3 is switched to other applications, and the FORM3 is estimated to switch to this application later, then Form3 is hidden behind Form2, but Form2 cannot achieve focus. At this time, the ALT TAB is re-switched to this application, then Form3 is displayed in front.
what reason? How to deal with it?