Re: [Iup-users] Problem Getting the Child Dialog to Minimize/Restore with Parent

2022-01-08 Thread Antonio Scuri
>  What do non-Windows programmers do to achieve that?

  Simply use multiple windows. Or use tab based dialogs, where every
profile is displayed inside a Tab.

Best,
Scuri


Em sáb., 8 de jan. de 2022 às 16:38, Kaz Foxsen 
escreveu:

> Do I even need MDI? I figured that the original programmer used it in
> order to allow the user to open multiple profiles at the same time and
> those different profiles could hold different information, but if I
> can make it work with the normal parenting functions, then that would
> be preferable. What do non-Windows programmers do to achieve that?
>
> On Fri, Jan 7, 2022 at 7:31 AM Antonio Scuri 
> wrote:
> >
> > I don't know. MDI is very little used.
> >
> > PARENTDIALOG works very well for regular dialogs. I confirmed the
> minimize behavior here, just in case.
> >
> > But when involves MDI everything changes. This behavior is controlled by
> the system, IUP actually only configures parent and child settings.
> >
> > Best,
> > Scuri
> >
> >
> > Em sex., 7 de jan. de 2022 às 01:52, Kaz Foxsen 
> escreveu:
> >>
> >> I've read that setting the PARENTDIALOG attribute is supposed to make
> >> a child dialog minimize with the parent dialog, but can't get it to
> >> work.
> >>
> >> The app I'm working on has a main window featuring a canvas as an MDI
> >> Client. Whenever a user selects New File, a profile dialog is created.
> >> Using that profile (which is set as an MDI child), the user can click
> >> items to open various "module" dialogs to change settings. I set the
> >> module dialogs to have the profile dialog as a parent, but when I
> >> minimize the parent, the module doesn't minimize. If I don't set a
> >> parent, the module will disappear under the main window if I click the
> >> profile that spawned it.
> >>
> >> How can I fix this?
> >>
> >>
> >> ___
> >> Iup-users mailing list
> >> Iup-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/iup-users
> >
> > ___
> > Iup-users mailing list
> > Iup-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/iup-users
>
>
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users
>
___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users


Re: [Iup-users] Problem Getting the Child Dialog to Minimize/Restore with Parent

2022-01-08 Thread Kaz Foxsen
Do I even need MDI? I figured that the original programmer used it in
order to allow the user to open multiple profiles at the same time and
those different profiles could hold different information, but if I
can make it work with the normal parenting functions, then that would
be preferable. What do non-Windows programmers do to achieve that?

On Fri, Jan 7, 2022 at 7:31 AM Antonio Scuri  wrote:
>
> I don't know. MDI is very little used.
>
> PARENTDIALOG works very well for regular dialogs. I confirmed the minimize 
> behavior here, just in case.
>
> But when involves MDI everything changes. This behavior is controlled by the 
> system, IUP actually only configures parent and child settings.
>
> Best,
> Scuri
>
>
> Em sex., 7 de jan. de 2022 às 01:52, Kaz Foxsen  
> escreveu:
>>
>> I've read that setting the PARENTDIALOG attribute is supposed to make
>> a child dialog minimize with the parent dialog, but can't get it to
>> work.
>>
>> The app I'm working on has a main window featuring a canvas as an MDI
>> Client. Whenever a user selects New File, a profile dialog is created.
>> Using that profile (which is set as an MDI child), the user can click
>> items to open various "module" dialogs to change settings. I set the
>> module dialogs to have the profile dialog as a parent, but when I
>> minimize the parent, the module doesn't minimize. If I don't set a
>> parent, the module will disappear under the main window if I click the
>> profile that spawned it.
>>
>> How can I fix this?
>>
>>
>> ___
>> Iup-users mailing list
>> Iup-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/iup-users
>
> ___
> Iup-users mailing list
> Iup-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/iup-users


___
Iup-users mailing list
Iup-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/iup-users