How can I obtain the type of an object by its identifier ?

2009-02-09 Thread Alexei Babich
Hello all. How can I obtain the type of an object by its identifier (XID)? E.g., window, picture, etc. Thank you. -- Regards, Alexei Babich, circuit engineer, OOO NPP Rezonans, Chelyabinsk, Russia http://www.rez.ru Jabber ID: imp...@jabber.ru ___

Re: How can I obtain the type of an object by its identifier ?

2009-02-09 Thread Adam Jackson
On Mon, 2009-02-09 at 16:24 +0500, Alexei Babich wrote: Hello all. How can I obtain the type of an object by its identifier (XID)? E.g., window, picture, etc. From the client side? You don't. You could infer it by doing a bunch of GetWindowAttributes or similar and inspecting error codes,