Many thanks for your response on my dragDetect question. Makes perfect sense
now.
 
Another question if I may: in mouseTrack.rex, the dialog size (cx,cy) is
257, 123. But when checking if the mouse is outside the dialog in the
onMouseMove method, you check for the mouse position being > 385,200:
 
::method onMouseMove unguarded
  expose ... dragging ...
  use arg keyState, p, mouse 
 ...
  if dragging then do
    if p~x < 0 | p~y < 0 | p~x > 385 | p~y > 200 then do
...
 
How do I map dialog units to mouse position? Or have I missed something?
 
Many thanks,
Oliver

PS: I've looked at the new samples, and they're great! But I haven't dug
into the code yet. 

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Oorexx-users mailing list
Oorexx-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oorexx-users

Reply via email to