Page 1 of 1

SDK Help needed...

PostPosted: Thu Oct 04, 2007 5:34 pm
by David de Argentina
Hi all,

Im trying to normalize the Grid Plugin.
I redefine all variables (in and out) as [rectanglename.whatever]

everything goes ok if I create one grid.

If i try to create more than one grid, I need to catch the mouseover rectangle handle... o something like this... in order to reasignate the rectanglename value. Otherwise, returned variables will be corrupted.

I guess this code must be in the callback function, within the %NOTIFY equate... but i dont have idea how must I do this...

Please, if any know how do this work... tell me..
(Don't matter if code is in Delphi or C.... PowerBasic Prefered... :lol: )

Thanks in advance,
David de Argentina

PostPosted: Thu Oct 04, 2007 8:14 pm
by David de Argentina
Another question:

Using ChildWindowFromPoint API function, I know the handle of any rectangle.
Are there any way to know rectangle name ?

Thanks in advance,
David de Argentina

PostPosted: Thu Oct 04, 2007 10:28 pm
by HPW
If i try to create more than one grid, I need to catch the mouseover rectangle handle... o something like this... in order to reasignate the rectanglename value. Otherwise, returned variables will be corrupted.


In delphi each plugin-form and it's objects has their own MouseOver-Event.
Also the rectanglename is a property of each plugin-object.
So I am not sure where you have the problem.