dilbert_here00 0 Light Poster

Hello All,

I have a question on win32gui, how do I get the window ID corresponding to a window handle. I am able to get the window handle, class, caption using functions like "win32gui.GetWindowText", "win32gui.GetClassName" etc, but I can't find a function that returns the window ID for a particular handle.

My second question is if by using some spy tool I get all the window ID's, is there a win32gui function which i can use to get the properties for that window ID like - caption, class etc.?

Any help would be greately appreciated.

Thanks & Regards

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.