Disable "X" on dialog

Disable "X" on dialog

Postby Jeff Barnes » Fri Feb 06, 2009 1:45 am

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
Thanks,
Jeff Barnes

(FWH 16.11, xHarbour 1.2.3, Bcc730)
User avatar
Jeff Barnes
 
Posts: 929
Joined: Sun Oct 09, 2005 1:05 pm
Location: Ontario, Canada

Re: Disable "X" on dialog

Postby anserkk » Fri Feb 06, 2009 4:37 am

Dear Mr.Jeff,

Have u tried

Code: Select all  Expand view  RUN
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
User avatar
anserkk
 
Posts: 1333
Joined: Fri Jun 13, 2008 11:04 am
Location: Kochi, India


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 5 guests