//声明:
MoveWindow(
  hWnd: HWND;               {窗口句柄}
  X, Y: Integer;            {位置}
  nWidth, nHeight: Integer; {大小}
  bRepaint: BOOL            {是否重绘}
): BOOL;

//举例: procedure TForm1.Button1Click(Sender: TObject); begin MoveWindow(Button1.Handle, 0, 0, ClientWidth, ClientHeight, True); end;
//效果图:

posted on 2008-02-12 15:47  万一  阅读(15616)  评论(5编辑  收藏  举报