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
Full screen dialog
- Antonio Linares
- Site Admin
- Posts: 42520
- Joined: Thu Oct 06, 2005 5:47 pm
- Location: Spain
- Has thanked: 31 times
- Been thanked: 75 times
- Contact:
Antonio,
this is sample dialog:
I create dialog because window in this moment do not support multiline say/get.
Pawel
this is sample dialog:
Code: Select all | Expand
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