|
1.form1.FormStyle:=fsstayontop;
2. The forefront display:
SetWindowPos (Form1.Handle, HWND_TOPMOST, Form1.Left, Form1.Top, Form1.Width,
Form1.Height, SWP_SHOWWINDOW );
Cancel the front end display:
SetWindowPos (Form1.Handle, HWND_NOTOPMOST, Form1.Left, Form1.Top, Form1.Width,
Form1.Height, SWP_SHOWWINDOW );
All three are ok, you can try again |
|