Specifies if a title bar appears at the top of a form. Syntax Object.TitleBar[ = nExpression] Settings nExpression the settings for the TitleBar property are as follows: setting Description 0 The title bar is not displayed. 1 (Default) The title bar is displayed. 怎么用,在哪里用,知情者帮忙啊
你看看,加上一下代码: BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs) { // TODO: Modify the Window class or styles here by modifying // the CREATESTRUC; cs.style=WS_POPUPWINDOW; cs.style&=~WS_THICKFRAME; cs.x=0; cs.y=0; cs.cx=1024; cs.cy=768; cs.lpszName="title"; return CFrameWnd::PreCreateWindow(cs); }
SDI MDI DIALOG??????
高手快来呀
Syntax
Object.TitleBar[ = nExpression]
Settings
nExpression
the settings for the TitleBar property are as follows:
setting Description
0 The title bar is not displayed.
1 (Default) The title bar is displayed. 怎么用,在哪里用,知情者帮忙啊
BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUC;
cs.style=WS_POPUPWINDOW;
cs.style&=~WS_THICKFRAME;
cs.x=0;
cs.y=0;
cs.cx=1024;
cs.cy=768;
cs.lpszName="title";
return CFrameWnd::PreCreateWindow(cs);
}
BOOL CMoutDlg::OnInitDialog()
{
。
AfxGetMainWnd()->SetWindowText("");
。
}
不是有TITLEBARINFO和GetTitleBarInfo()的吗?怎么用他们啊?