realbasic-plugins
[Top] [All Lists]

Re: canvas.handle on composite and noncomposite window and other serious

To: REALbasic Plugins <realbasic-plugins at lists dot realsoftware dot com>
Subject: Re: canvas.handle on composite and noncomposite window and other serious limitations
From: Tom Benson <tombenson at mac dot com>
Date: Mon, 12 Dec 2005 19:49:23 +1100
Delivered-to: realbasic-plugins at lists dot realsoftware dot com
References: <994ec9052db5f81272127184b43cc05d at mac dot com> <4AF7E7A9-4789-4723-95A7-59A3A9CAB629 at mac dot com> <17f24ffed5583b2db58c1f9f99f962a2 at mac dot com>
It doesn't lead to the handle value, sorry for the misunderstanding. All it does is allow you to identify unique instances of Canvas (by comparing hashes).

Sorry,
Tom

________________________________________________________

The difference between stupidity and genius is that genius has its limits.
 --Albert Einstein

On 12/12/2005, at 9:07 AM, Alfred Van Hoek wrote:


On Dec 11, 2005, at 3:27 PM, Tom Benson wrote:

This affect many more controls than just the canvas.

I believe you.


I'm not sure if it's possible using the plugin API, but you could try using a hash of the canvas (as stored in a variant) to identify it, at least that how I get around the problem within pure RB.

The plugin Dynamic Access API let you do pure RB logic within the plugin. Therefore anything you can accomplish in RB can be done in the plugin. Your remark therefore may be of quite a value, but based on the limited info you give, I am not sure if I can follow you.

We have put the canvas in a variant and retrieve the hash value. How would the hash value lead to the canvas.handle? Care to explain?

Would appreciate this very much,

Alfred

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>

_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>

Search the archives of this list here:
<http://support.realsoftware.com/listarchives/lists.html>


<Prev in Thread] Current Thread [Next in Thread>