Page 1 of 1
NOMINBUTTON NOMAXBUTTON
Posted: Mon Apr 11, 2011 3:50 am
by MIGUELON
Hi Roger, I can use NOMINBUTTON NOMAXBUTTON in MODAL windows
Greetings
Miguel
Re: NOMINBUTTON NOMAXBUTTON
Posted: Mon Apr 11, 2011 7:58 am
by rdonnay
Yes, this should work.
Are you having a problem?
Re: NOMINBUTTON NOMAXBUTTON
Posted: Mon Apr 11, 2011 8:54 am
by MIGUELON
Sorry, I made the wrong question.
NOMAXBUTTON NOMINBUTTON I can use a non-modal windows
Thanks
Miguel
Re: NOMINBUTTON NOMAXBUTTON
Posted: Mon Apr 11, 2011 10:18 am
by Cliff Wiernik
No, it does not work on non-modal windows.
You need to use
DC_ConfigDialogButtons( <oDlg>, <nOption> ) -> nil
Re: NOMINBUTTON NOMAXBUTTON
Posted: Mon Apr 11, 2011 2:52 pm
by MIGUELON
Cliff thank you very much, is just what I need and it works perfect.
Only Roger commented that the support appears DLG_BUTTON_DISABLEMAX
and the correct one is DC_BUTTON_DISABLEMAXIMIZE
Thanks for your help Cliff
Greetings
Miguel

Re: NOMINBUTTON NOMAXBUTTON
Posted: Tue Apr 12, 2011 7:05 am
by Cliff Wiernik
I use it all the time to disable the maximize button as that causes certain problems with my application related to cycling between different dialogs. With it disabled, no problems.
Cliff.