Window Title bar
-
Also wie kriege ich bei meiner MFC anwendung die Title bar weg??? Ich habs bei PreCreateWindow mit cs.style versucht aber da geht net. Ich will das die title bar verschwindet Menü und Toolbar sollen aber weiterhin da sein. Ich nutze Documenten Ansichts architektur.
-
Siehe :
http://www.experts-exchange.com/Programming/Programming_Languages/MFC/Q_10021837.htmlComment from cnasarre Date: 09/03/1997 08:03AM PDT
Take a look at your RC file and check that the dialog definition is done without WS_CAPTION style. Here is my own :IDD_DLGNOTITLE_DIALOG DIALOGEX 0, 0, 185, 92
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE
EXSTYLE WS_EX_APPWINDOW
FONT 8, "MS Sans Serif"
BEGIN
DEFPUSHBUTTON "OK",IDOK,128,7,50,14
PUSHBUTTON "Cancel",IDCANCEL,128,23,50,14
LTEXT "TODO: Place dialog controls here.",IDC_STATIC,5,34,113,
8
END