NOMINBUTTON NOMAXBUTTON

This forum is for eXpress++ general support.
Post Reply
Message
Author
MIGUELON
Posts: 135
Joined: Wed Feb 10, 2010 10:55 am

NOMINBUTTON NOMAXBUTTON

#1 Post by MIGUELON »

Hi Roger, I can use NOMINBUTTON NOMAXBUTTON in MODAL windows

Greetings
Miguel

User avatar
rdonnay
Site Admin
Posts: 4745
Joined: Wed Jan 27, 2010 6:58 pm
Location: Boise, Idaho USA
Contact:

Re: NOMINBUTTON NOMAXBUTTON

#2 Post by rdonnay »

Yes, this should work.

Are you having a problem?
The eXpress train is coming - and it has more cars.

MIGUELON
Posts: 135
Joined: Wed Feb 10, 2010 10:55 am

Re: NOMINBUTTON NOMAXBUTTON

#3 Post by MIGUELON »

Sorry, I made ​​the wrong question.
NOMAXBUTTON NOMINBUTTON I can use a non-modal windows

Thanks
Miguel

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: NOMINBUTTON NOMAXBUTTON

#4 Post by Cliff Wiernik »

No, it does not work on non-modal windows.

You need to use
DC_ConfigDialogButtons( <oDlg>, <nOption> ) -> nil

MIGUELON
Posts: 135
Joined: Wed Feb 10, 2010 10:55 am

Re: NOMINBUTTON NOMAXBUTTON

#5 Post 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
:clap:

Cliff Wiernik
Posts: 605
Joined: Thu Jan 28, 2010 9:11 pm
Location: Steven Point, Wisconsin USA
Contact:

Re: NOMINBUTTON NOMAXBUTTON

#6 Post 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.

Post Reply