PC SOFT

FOROS PROFESIONALES
WINDEVWEBDEV y WINDEV Mobile

Inicio → WINDEV 2024 → WD19 - Names of callers
WD19 - Names of callers
Iniciado por guest, 25,feb. 2015 19:55 - 1 respuesta
Publicado el 25,febrero 2015 - 19:55
My popup procedure (lets name it POPUP_Amount) can be called from some different places. I want to know from what window and global procedure it called each time. I don't want to pass additional parameters - i want to see a list of all callers (full call stack). Then I want to configure popup window according the last caller window and last caller global procedure.

Same list is shown by windev when a bug window opened.

How can i receive this information by code?

How can i know (in code) the parent of my current opened window?

How can i know (in code) the parent of any opened window?

Thanks,
Alexander
Publicado el 25,febrero 2015 - 20:00
Hi Alexander

look at the series of function starting with "dbg", you will find what you are looking for and more

Best regards