Source language: Translate to:

SDK Help needed...

NeoBook tips, tricks, code samples and more...

Moderator: Neosoft Support

SDK Help needed...

Postby David de Argentina » Thu Oct 04, 2007 5:34 pm

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
User avatar
David de Argentina
 
Posts: 1559
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Postby David de Argentina » Thu Oct 04, 2007 8:14 pm

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
User avatar
David de Argentina
 
Posts: 1559
Joined: Mon Apr 04, 2005 4:13 pm
Location: Buenos Aires, Argentina

Postby HPW » Thu Oct 04, 2007 10:28 pm

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.
Hans-Peter
User avatar
HPW
 
Posts: 2520
Joined: Fri Apr 01, 2005 11:24 pm
Location: Germany


Return to NeoBook Knowledgebase

Who is online

Users browsing this forum: No registered users and 2 guests