> 
> local hFocus = win.getfocus()
> local iX =    win.left(hFocus) + (win.width(hFocus)  / 2)
> local iY = win.top(hFocus) + (win.height(hFocus) / 2)
> 
> 
> win.mouse("sa ab " ++  iX  ++ " " ++ iY)
> 
> ;; centred on mouse, , colours
> local men = ops_ordered.showmenu("", 1, "", "250 200 200") 
> 
> win.mouse("restore")


In my tests (with a op_ordered = vec.createfromwords added), the 
above worked in most apps, although it did fail in IE.  However, if 
I removed the win.getfocus, it worked in ie.  Possibly you can take 
a different approach to placing the menu once menu showatcursor is 
working in next beta.


I have also found that, in some tests, if a minimized window has the 
focus, then Windows does not move the focus to PowerPro even though 
PowerPro is assigned foreground window status.  But this does not 
happen consistently.

Since the above two problems are not consistently reproducible with 
most apps, I don't plan to change anything in PowerPro, for fear of 
breaking something else.








Attention: PowerPro's Web site has moved: http://www.ppro.org 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/power-pro/

<*> Your email settings:
    Individual Email | Traditional

<*> To change settings online go to:
    http://groups.yahoo.com/group/power-pro/join
    (Yahoo! ID required)

<*> To change settings via email:
    mailto:[EMAIL PROTECTED] 
    mailto:[EMAIL PROTECTED]

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to