"procedure WMWindowPosChanging( var mensaje:
TWMWindowPosChanging); message WM_WindoqwPosChanging;"
but this procedure not only capture the message for the form, capture
the message
WM_WindoqwPosChanging for all the other forms, if i move other window
diferent of the message handle, the program continue the execution in
this procedure.
This not succeed if i change the message for WM_WindoqwPosChanged.
why happen this?
Jaime A Cañas
jca...@asobancaria.com
"procedure WMWindowPosChanging( var mensaje:
TWMWindowPosChanging); message WM_WindoqwPosChanging;"
but this procedure not only capture the message for the form, capture
the message
WM_WindoqwPosChanging for all the other forms, if i move other window
diferent of the message handle, the program continue the execution in
this procedure.
This not succeed if i change the message for WM_WindowPosChanged.
>but this procedure not only capture the message for the form
This is how message handling works in Delphi (and Windows, for that
matter). A window only handles messages sent/posted to itself, not to
other windows.
You can create an event handler for Application.OnMessage. This will
allow you to see all messages posted to all forms.
---
Yorai Aminov (TeamB)
http://ourworld.compuserve.com/homepages/yaminov
(TeamB cannot answer questions received via email.
To contact me for any other reason remove nospam from my address)
Cheers,
R E
jaime cañas wrote:
>
> I have a procedure to handle the message WM_WindowPosChanging in the
> declaration of one form:.
>
> "procedure WMWindowPosChanging( var mensaje:
> TWMWindowPosChanging); message WM_WindoqwPosChanging;"
>
> but this procedure not only capture the message for the form, capture
> the message
> WM_WindoqwPosChanging for all the other forms, if i move other window
> diferent of the message handle, the program continue the execution in
> this procedure.
>
> This not succeed if i change the message for WM_WindoqwPosChanged.