Delphi showmessage message box is covered with a thumbnail form.

As shown above, the login window is in front of the main window, behind the main screen. The main interface window closed when the pop-up message box, always the login box thumbnail blocked. . What is the principle? This only happens in, after the main interface to minimize, maximize again. Then it is so.

Who encountered Oh? Who thought oh?

 

Amount, solved the problem myself. After a successful login interface, the main interface is created manually, rather than automatically created by delphi project manager. The landing window free fall, manually create the main interface, then take the initiative to the main interface show. Then the above problems solved.
I do not know other people what better way to do it. Oh, thanks.

 

At the same time, see the application's taskbar at the bottom of the system, the program is a thumbnail login screen, rather than the main form thumbnails. This unscientific even in delphi Oh, I put the main interface is set to the main form, still can not afford to solve this problem, oh.

Guess you like

Origin www.cnblogs.com/jijm123/p/12624171.html