Child of Folder

Post Reply
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Child of Folder

Post by byte-one »

How to determine, if a dialog is inside a folder(ex)?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
cnavarro
Posts: 5792
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Child of Folder

Post by cnavarro »

Günther, try with

? oDlg:oWnd:ClassName()
C. Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
Si alguien te dice que algo no se puede hacer, recuerda que esta hablando de sus limitaciones, no de las tuyas.
User avatar
byte-one
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria
Contact:

Re: Child of Folder

Post 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.
Regards,
Günther
---------------------------------
office@byte-one.com
Post Reply