How can I obtain the name of my subwindows inside of principal windows
i have a windows
-----------------------------------------
! !
! !
! ----------------- !
! ! ! !
! ! ! !
! ! ! !
! ----------------- !
! !
! !
------------------------------------------
the big windows has name XXX where XXX is random name
the small windows has name YYY where YYY is random name.
how can i obtain the name of the windows YYY. Is possible
whit the GetActiveWindow only i obtain the XXX, but not YYY.
Sorry for my english, i speak spanish.
Thanks for advanced
Windows and sub-Windows
Moderators: JRL, Dorian (MJT support)
Hi,
Use GetActiveWindow with GAW_TYPE set to 1. Please see the documentation for GetActiveWIndow where you will see that setting GAW_TYPE to 1 will get the active child window of the active window. e.g.
SetFocus>Main_Window
Let>GAW_TYPE=1
GetActiveWindow>child_window,x,y
MessageModal>Active Child Window is %child_window%
Hope this helps.
Use GetActiveWindow with GAW_TYPE set to 1. Please see the documentation for GetActiveWIndow where you will see that setting GAW_TYPE to 1 will get the active child window of the active window. e.g.
SetFocus>Main_Window
Let>GAW_TYPE=1
GetActiveWindow>child_window,x,y
MessageModal>Active Child Window is %child_window%
Hope this helps.
MJT Net Support
[email protected]
[email protected]