13.09.2008, 14:40
|
Активный
|
|
Регистрация: 12.06.2008
Сообщения: 313
Репутация: 40
|
|
попробуй вот так
Код:
procedure SizeWindow(const Wnd: HWND; const nWindth, nHeight: Integer);
var
Rect: TRect;
begin
if Wnd <> 0 then
begin
GetWindowRect(Wnd, Rect);
MoveWindow(Wnd, Rect.Left, Rect.Top, nWindth, nHeight, True);
end;
end;
|