Autor Beitrag
Ebil
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 131



BeitragVerfasst: Sa 21.06.08 22:43 
Hallihallo,

Ich such schon die ganze zeit, und mich wundert es das es sowas nicht gibt...
Ich will ein ereignis auslösen sobald man eine Form bewegt -> Ich habe ein 2. fenster an diesem Formular "dran" und will das es auch "dran" bleibt und daher die position anpassen.
Gibts da nichts in delphi integriertes?

Ebil~
Yogu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2598
Erhaltene Danke: 156

Ubuntu 13.04, Win 7
C# (VS 2013)
BeitragVerfasst: Sa 21.06.08 22:53 
Hallo,

probier mal die Message Suche im MSDN WM_MOVE. Wie du eine Message in dein Formular übernimmst, findest du sicher in der Suche in: Delphi-Forum, Delphi-Library SUCHE.

Grüße,
Yogu
Ebil Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 131



BeitragVerfasst: Sa 21.06.08 23:17 
Danke, in der suche hab ich zwar nix gefunden aber bei google zu den messages.
Frag mich wieso das nicht schon standartmäßig drin ist...

ausblenden Delphi-Quelltext
1:
procedure OnMove(var msg: TWMMove); message WM_MOVE;					
Yogu
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 2598
Erhaltene Danke: 156

Ubuntu 13.04, Win 7
C# (VS 2013)
BeitragVerfasst: So 22.06.08 11:26 
user profile iconEbil hat folgendes geschrieben:
Frag mich wieso das nicht schon standartmäßig drin ist...

Das frage ich mich auch manchmal... Irgenwie dachten die wohl, zu viele Ereignisse verwirren. Aber mir sind es definitiv auch zu wenige! Bei den Virtual Treeviews gibt es Unmengen an Ereignissen - und das ist auch gut so.