![]() |
| ||
|
|
Новости |
Поиск |
FAQ |
Статьи |
Книги |
Новости VCL
| | Форумы ЧАТ |
Орешник |
|
| |||
| |||
« предыдущая ветвь | форум | следующая ветвь »
вопрос про WM_WINDOWPOSCHANGING
brother © (2013-04-27 07:05:00)
procedure TForm.WndProc(var Message: TMessage);
var
wp: PWindowPos;
begin
case Message.Msg of
...
WM_WINDOWPOSCHANGING: begin
wp := PWindowPos(Pointer(message.LParam));
Form1.Memo1.Lines.Clear;
Form1.Memo1.Lines.Add('x' + IntToStr(wp.x));
Form1.Memo1.Lines.Add('y' + IntToStr(wp.y));
Form1.Memo1.Lines.Add('cx' + IntToStr(wp.cx));
Form1.Memo1.Lines.Add('cy' + IntToStr(wp.cy));
end;
...
end;
inherited WndProc(Message);
end;
в memo1 все значения всегджа равны 0, почему?
brother (2013-04-27 11:40:00) [1]> TForm.WndProc ?
TFormExt
brother (2013-04-27 11:16:00) [2]да. form1 Для отладки...
clickmaker (2013-04-27 11:12:00) [3]TForm.WndProc ?