Page 1 of 1

Disable "X" on dialog

Posted: Fri Feb 06, 2009 1:45 am
by Jeff Barnes
Hi Everybody,

How can I disable the "X" on the top of a dialog box?

In FWH I would use "nosysmenu" but it appears I can not do this with FWPPC

Re: Disable "X" on dialog

Posted: Fri Feb 06, 2009 4:37 am
by anserkk
Dear Mr.Jeff,

Have u tried

Code: Select all

nStyle :=nOR( DS_MODALFRAME, WS_POPUP, WS_CAPTION ) // Removes the ? and x on the dialogue title
DEFINE DIALOG oDlg FROM 10,20 to 27,90 TITLE "My Dialog" STYLE nStyle 
I have not tried this in FWPPC but this works fine in FWH.

Regards

Anser