Open an MDI Child in a second MDI Parent

Startbeitrag von Matthias.pcs.crosspost am 12.08.2010 14:52

Hi,

i have a MDI Parent window. In this window i open an MDI Child. In this Child i open another MDI Parent Window. Now i want to open a MDI Child again. My problem is that this child is opening in the first MDI Parent and not in the last. Can you help me?

Thanks
Matthias

Message forwarded from pcsoft.us.windev

Antworten:


Hi, I believe that there's only ONE MDI-parent possible within one project. The function MDIMother() returns the name of the parent but there's no way to change it.

Result: A second MDI-parent results in the need for a second project and therefore a second exe file. Running the second MDI-parent from the first project is done using ExeRun( .. ). Now Project A would reference its MDI-childs to MDI-parent A and Project B to MDI-parent B.

Regards,
Guenter


von Jimbo - am 19.08.2010 07:13
Zur Information:
MySnip.de hat keinen Einfluss auf die Inhalte der Beiträge. Bitte kontaktieren Sie den Administrator des Forums bei Problemen oder Löschforderungen über die Kontaktseite.
Falls die Kontaktaufnahme mit dem Administrator des Forums fehlschlägt, kontaktieren Sie uns bitte über die in unserem Impressum angegebenen Daten.