Re: WIn32lib onMove event?

new topic     » goto parent     » topic index » view thread      » older message » newer message

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

new topic     » goto parent     » topic index » view thread      » older message » newer message

Search



Quick Links

User menu

Not signed in.

Misc Menu