Child of Folder

Child of Folder

Postby byte-one » Mon Dec 31, 2018 10:06 am

How to determine, if a dialog is inside a folder(ex)?
Regards,
Günther
---------------------------------
office@byte-one.com
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria

Re: Child of Folder

Postby cnavarro » Mon Dec 31, 2018 3:06 pm

Günther, try with

? oDlg:oWnd:ClassName()
Cristobal Navarro
Hay dos tipos de personas: las que te hacen perder el tiempo y las que te hacen perder la noción del tiempo
El secreto de la felicidad no está en hacer lo que te gusta, sino en que te guste lo que haces
User avatar
cnavarro
 
Posts: 6549
Joined: Wed Feb 15, 2012 8:25 pm
Location: España

Re: Child of Folder

Postby byte-one » Mon Dec 31, 2018 7:34 pm

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
User avatar
byte-one
 
Posts: 1048
Joined: Mon Oct 24, 2005 9:54 am
Location: Austria


Return to FiveWin for Harbour/xHarbour

Who is online

Users browsing this forum: No registered users and 73 guests