核心提示:EnableMenuItem(GetSystemMenu(Handle, FALSE), SC_CLOSE,MF_BYCOMMAND or MF_GRAYED); 如果要把整个标题栏去掉,则在OnCr...
EnableMenuItem(GetSystemMenu(Handle, FALSE), SC_CLOSE,MF_BYCOMMAND or MF_GRAYED);
如果要把整个标题栏去掉,则在OnCreate中写:
SetWindowLong(handle,GWL_STYLE,GetWindowLong(handle,GWL_STYLE) and not WS_CAPTION);