Главная страница
Top.Mail.Ru    Яндекс.Метрика
Текущий архив: 2014.02.23;
Скачать: CL | DM;

Вниз

вопрос про WM_WINDOWPOSCHANGING   Найти похожие ветки 

 
brother ©   (2013-04-27 07:05) [0]

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, почему?


 
clickmaker ©   (2013-04-27 11:12) [1]

TForm.WndProc ?


 
brother ©   (2013-04-27 11:16) [2]

да. form1 Для отладки...


 
brother ©   (2013-04-27 11:40) [3]

> TForm.WndProc ?

TFormExt



Страницы: 1 вся ветка

Текущий архив: 2014.02.23;
Скачать: CL | DM;

Наверх




Память: 0.47 MB
Время: 0.007 c
11-1249702092
Ruzzz
2009-08-08 07:28
2014.02.23
Создание для KOL эквивалента Layouts из Qt


15-1378543685
Minsk
2013-09-07 12:48
2014.02.23
PL/I


15-1379017802
Юрий
2013-09-13 00:30
2014.02.23
С днем рождения ! 13 сентября 2013 пятница


2-1366618233
novai
2013-04-22 12:10
2014.02.23
wm_Create


3-1296163023
red_imp
2011-01-28 00:17
2014.02.23
Кодировка в dbf файле