全部博文(788)
分类:
2008-11-18 14:50:22
procedure OnMoving(var Msg: TWMMoving); message WM_MOVING;
..........
procedure TFormDemo.OnMoving(var Msg: TWMMoving);
begin
Caption := IntToStr(msg.lpRect^.Left);
inherited;
end;
更详细的内容(上下左右)
Caption := IntToStr(msg.lpRect^.Left)+':'+
IntToStr(msg.lpRect^.Top)+':'+
IntToStr(msg.lpRect^.Right)+':'+
IntToStr(msg.lpRect^.Bottom);