Grisgram Posted October 12, 2004 Share Posted October 12, 2004 (edited) Hi, I have a MDI Application running which opens several child windows. I want to access a specified pixel in one of those childs. How can I do that? ActiveWindow is always the MDI-Frame. I can't tell, where it is located on the screen, so absolute coordinates do not work. I need relative. The window spy shows me the title of the active child window somewhere in its list of the "visible window text" area... How can I access one specific child window in an MDI frame? I need the coordinates (inside the MDI frame) of this window to go ahead from there and find the pixel I am so desperately looking for Any help appreciated! thanks, Mike Edited October 12, 2004 by Grisgram Link to comment Share on other sites More sharing options...
this-is-me Posted October 12, 2004 Share Posted October 12, 2004 (edited) WinGetPos using the title of the mdi window (not the outside window, the inside). Edited October 12, 2004 by this-is-me Who else would I be? Link to comment Share on other sites More sharing options...
Grisgram Posted October 12, 2004 Author Share Posted October 12, 2004 WinGetPos using the title of the mdi window (not the outside window, the inside).<{POST_SNAPBACK}>if i use the window title of the mdi CHILD i get an error and no array is returned from the function. If I use the title of the MDI Frame i get (of course) the coordinates of the main window. This approach doesn't work or I missed something fundamental. Seems like I have no way to access the inner form of a MDI.Can you explain that a little closer please or do you have any other ideas?thx, mike Link to comment Share on other sites More sharing options...
this-is-me Posted October 12, 2004 Share Posted October 12, 2004 I don't know if it will help, but have you tried the option WinSearchChildren? Who else would I be? Link to comment Share on other sites More sharing options...
Grisgram Posted October 12, 2004 Author Share Posted October 12, 2004 I don't know if it will help, but have you tried the option WinSearchChildren?<{POST_SNAPBACK}>Not yet, no. Thanks for this hint... /away to try it out...thx Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now