delphi怎样让窗体显示在右下角
procedure TForm1.FormCreate(Sender: TObject);
begin
Top := Screen.WorkAreaHeight - Height;
Left := Screen.WorkAreaWidth - Width;
end;
全文:https://zhidao.baidu.com/question/233931080.html
delphi SetWindowPos取消置顶
设置顶层(Z-order)窗口和非顶层窗口都可以使用SetWindowPos.
如下api取消置顶:
SetWindowPos( hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE );
或者 SetWindowPos( hWnd,HWND_BOTTOM, 0, 0, 0, 0, SWP_NOMOVE|SWP_NOSIZE );
全文:https://zhidao.baidu.com/question/471636538.html
WinAPI: SetWindowPos - 改变窗口的位置与状态
http://www.cnblogs.com/del/archive/2008/02/12/1067358.html //各参数详解。