Re: WIn32lib onMove event?
- Posted by Derek Parnell <derekp at SOLACE.COM.AU> Jan 15, 2001
- 497 views
You can use the onEvent handler to get this.
procedure Events(atom iMsg, atom wparam, atom lparam)
sequence rect
if iMsg = WM_MOVE then
-- get Left,Top,Right,Bottom of window.
rect = getRect(getSelf())
. . . -- now you can do what you want with it.
end if
end procedure
onEvent[mywindow] = routine_id("Events")
-----
cheers,
Derek Parnell

