FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Disable "X" on dialog
Posts: 933
Joined: Sun Oct 09, 2005 01:05 PM
Disable "X" on dialog
Posted: Fri Feb 06, 2009 01: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)
Posts: 1335
Joined: Fri Jun 13, 2008 11:04 AM
Re: Disable "X" on dialog
Posted: Fri Feb 06, 2009 04:37 AM
Dear Mr.Jeff,

Have u tried

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

Continue the discussion