On 21/12/01 6:20 am, sims <[EMAIL PROTECTED]> wrote:

> On a Mac OS 9.1 I use:
> 
> put the windowID of this window into tW
> import snapshot from rect 325,17,727,551 of window tW
> 
> and it works fine.
> 
> 
> When I do the same with Mac OS 10.0.4 Build 4Q12
> 
> the windowID number can be obtained but the snapshot does not get taken
> at the correct location. To work around this I factor in the left &
> top like this:
> 
> 
> --put the windowID of this window into tW
>  --import snapshot from rect 325,17,727,551 of window tW
>  put the left of this stack into tLeft
>  put the top of this stack into tTop
>  import snapshot from rect 323+tLeft,19+tTop,723+tLeft,551+tTop --WORKAROUND
> 
> Is this expected behavior for using import snapshot with windowID on OSX?

Seems to work OK here.  Have you tried this in OS 10.1.2 with Revolution
1.1?

Kevin

Kevin Miller <[EMAIL PROTECTED]> <http://www.runrev.com/>
Runtime Revolution Limited - Power to the Developer!
Tel: +44 (0) 870 747 1165.  Fax: +44 (0)1639 830 707.

_______________________________________________
improve-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/improve-revolution

Reply via email to