Page 1 of 1

Child of Folder

Posted: Mon Dec 31, 2018 10:06 am
by byte-one
How to determine, if a dialog is inside a folder(ex)?

Re: Child of Folder

Posted: Mon Dec 31, 2018 3:06 pm
by cnavarro
Günther, try with

? oDlg:oWnd:ClassName()

Re: Child of Folder

Posted: Mon Dec 31, 2018 7:34 pm
by byte-one
Thanks, but i have only the result of getactivewindow(). In a dialog with folders normally this gives the handle from the selected one of the dialogs in the folder. But i will check if this handle is a handle from a dialog in a folder.
Also a question for a function to get the oWnd- or oDlg-Object from a given (window)handle.