FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Full screen dialog
Posts: 126
Joined: Thu Oct 06, 2005 10:18 PM
Full screen dialog
Posted: Sun Nov 06, 2005 07:34 AM

Hello,

I create full screen dialog without sysmenu. When this dialog is activated 'X' button on main window is still visible. Press 'X' button close app and don't close dialog. Is method to hide 'X' button on 'parent' window with dialog without sysmenu ?

Dialog style: STYLE WS_POPUP|DS_MODALFRAME|WS_VISIBLE

Thanks,
Pawel

Posts: 44162
Joined: Thu Oct 06, 2005 05:47 PM
Full screen dialog
Posted: Sun Nov 06, 2005 09:08 AM

Pawel,

Could you please provide a small sample of what you are doing to test it here ? thanks.

regards, saludos

Antonio Linares
www.fivetechsoft.com
Posts: 126
Joined: Thu Oct 06, 2005 10:18 PM
Full screen dialog
Posted: Sun Nov 06, 2005 09:42 AM
Antonio,

this is sample dialog:

KliEdit DIALOG DISCARDABLE 0, 0, 159.5, 165
STYLE WS_POPUP|DS_MODALFRAME|WS_VISIBLE
FONT 8, "MS Shell Dlg"
BEGIN
  CONTROL "Kod:", 2001, "Static", SS_RIGHT|WS_GROUP, 0, 4, 30, 12
  CONTROL "Nazwa:", 2002, "Static", SS_RIGHT|WS_GROUP, 0, 25, 30, 12
  CONTROL "Ulica:", 2003, "Static", SS_RIGHT|WS_GROUP, 0, 62, 30, 12
  CONTROL "Pna:", 2004, "Static", SS_RIGHT|WS_GROUP, 0, 75, 30, 12
  CONTROL "Miasto:", 2005, "Static", SS_RIGHT|WS_GROUP, 0, 88, 30, 12
  CONTROL "NIP:", 2006, "Static", SS_RIGHT|WS_GROUP, 0, 101, 30, 12
  CONTROL "", 2007, "Edit", ES_MULTILINE|WS_BORDER|WS_TABSTOP, 32, 4, 124, 20 // kod
  CONTROL "", 2008, "Edit", ES_MULTILINE|WS_VSCROLL|WS_BORDER|WS_TABSTOP, 32, 25, 124, 36 // nazwa
  CONTROL "", 2009, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 32, 62, 124, 12 // ulica
  CONTROL "", 2010, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 32, 75, 32, 12 // pna
  CONTROL "", 2011, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 32, 88, 124, 12 // miasto
  CONTROL "", 2012, "Edit", ES_AUTOHSCROLL|WS_BORDER|WS_TABSTOP, 32, 101, 124, 12 // nip
  CONTROL "Zapisz", 2013, "Button", WS_TABSTOP, 32, 148, 40, 12
  CONTROL "Anuluj", 2014, "Button", WS_TABSTOP, 74, 148, 40, 12
  CONTROL ">>", 2015, "Button", WS_TABSTOP, 116, 148, 40, 12
END


I create dialog because window in this moment do not support multiline say/get.

Pawel

Continue the discussion