WM_SIZE和WM_MOVE的函数体内容为什么不一样?

搞不懂,要想一想~

procedure TWinControl.WMSize(var Message: TWMSize);
begin
  UpdateBounds; // 类函数
  inherited;
  Realign; // 类函数
  if not (csLoading in ComponentState) then Resize; // 类函数,简单调用程序员事件
end;

procedure TWinControl.WMMove(var Message: TWMMove);
begin
  inherited;
  UpdateBounds;
end;

 

posted @ 2015-08-31 04:58  findumars  Views(1046)  Comments(0)    收藏  举报