Главная страница
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.006 c
15-1378645854
localhost
2013-09-08 17:10
2014.02.23
InterBase XE3 или FireBird 2.5?


15-1378465391
Kostafey
2013-09-06 15:03
2014.02.23
Кто на чем сейчас пишет?


2-1367315524
vadiev
2013-04-30 13:52
2014.02.23
открыть страницу в указанном фрейме?


2-1367393935
mefodiy
2013-05-01 11:38
2014.02.23
Не идет печать из preview в QRPrinter


15-1378576177
pushkin42
2013-09-07 21:49
2014.02.23
Непонятка со скомпилированным exe