Full screen dialog

Full screen dialog

Postby pawelu » Sun Nov 06, 2005 7: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
pawelu
 
Posts: 126
Joined: Thu Oct 06, 2005 10:18 pm
Location: Poland

Postby Antonio Linares » Sun Nov 06, 2005 9: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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Postby pawelu » Sun Nov 06, 2005 9:42 am

Antonio,

this is sample dialog:

Code: Select all  Expand view
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
pawelu
 
Posts: 126
Joined: Thu Oct 06, 2005 10:18 pm
Location: Poland


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 25 guests