Page 1 of 1

Native Window "Instance" Property

Posted: Tue Feb 17, 2009 8:55 pm
by atom
Hiya

Can you explain what the "Instance" property displayed in the Spy tool is please ?

Thanks

Posted: Wed Feb 18, 2009 10:55 am
by Support Team
The instance is an index-like property for win32 windows which share the same class name, sorted by [x,y]. In some cases this is the only way to distinguish two windows (not including the volatile handle).

For example if there are two windows with class 'MyWndClass123' (and the same parent window) then one window has instance '0' and the other has instance '1'.

Michael
Ranorex Team