From the Photon Programmers guide
ApModuleParent()
This function works only with window modules.
Does this include dialogs?
Markus
From the Photon Programmers guide
ApModuleParent()
This function works only with window modules.
Does this include dialogs?
Markus
Hello Markus
I could use it with a Dialog. The program I wrote didn’t crash when I set the parent to “AB_NO_PARENT” or when I set the parent to my base window. I would assume that it is in fact correctly setting the Dialog’s parent before it is created.
Thanks
Rodney
Previously, Markus Jauslin wrote in qdn.public.qnx4.photon:
From the Photon Programmers guide
ApModuleParent()
This function works only with window modules.
Does this include dialogs?
Markus
\
My apologies Markus but I’ve been told to recant this. A very nice developer has told me that I should believe the docs and tell you that even though the program doesn’t crash that it is still not doing anything in this case. Just because the function worked doesn’t mean anything. I shouldn’t have assumed that just because the function worked that it was doing what it was supposed to be doing. This function does in fact work only with window modules. Again I’m sorry that I mislead you.
Rodney
Previously, gui@qnx.com wrote in qdn.public.qnx4.photon:
Hello Markus
I could use it with a Dialog. The program I wrote didn’t crash when I set the parent to “AB_NO_PARENT” or when I set the parent to my base window. I would assume that it is in fact correctly setting the Dialog’s parent before it is created.
Thanks
RodneyPreviously, Markus Jauslin wrote in qdn.public.qnx4.photon:
From the Photon Programmers guideApModuleParent()
This function works only with window modules.
Does this include dialogs?
Markus
\