Karthikeyan M wrote: > Hi All, > > I'm able to do it for a calculator window. Thanks a lot. > > But I get stuck, when there is a window inside a window. I couldn't get > the handle for the inside window. > > For example, in Adobe photo shop, we have so many windows inside the > main window. I've no clue how to get the handle for those windows. > > Help will be greatly appreciated.
IIRC, Photoshop has a SDK. Quick Google search turns up: http://www.adobe.com/devnet/photoshop/ That route may be better than trying to walk the child windows of Photoshop (which may change between releases). You're doing an awful lot of automation related tasks lately. I'd like to know what you are trying to do - maybe it has already been done before. To walk the window hierarchy, you can use the GetWindow() function or EnumChildWindows() (whichever is more appropriate). -- Thomas Hruska CubicleSoft President Ph: 517-803-4197 *NEW* MyTaskFocus 1.1 Get on task. Stay on task. http://www.CubicleSoft.com/MyTaskFocus/
