[code]BOOL CMainFrame::PreCreateWindow(CREATESTRUCT& cs)
{
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
// Untitle 삭제해주기
cs.style &= ~ FWS_ADDTOTITLE;
// 이후 SetWindowText 하면됨
return TRUE;
}[/code]
{
if( !CFrameWnd::PreCreateWindow(cs) )
return FALSE;
// TODO: Modify the Window class or styles here by modifying
// the CREATESTRUCT cs
// Untitle 삭제해주기
cs.style &= ~ FWS_ADDTOTITLE;
// 이후 SetWindowText 하면됨
return TRUE;
}[/code]
'Windows > MFC' 카테고리의 다른 글
윈도우 위치 고정 (Fix Position) (0) | 2013.10.02 |
---|---|
가운데, 중앙에 윈도우 위치하기 (CenterWindow) (0) | 2013.10.02 |
파일명 반환(return filename) (0) | 2013.10.02 |
반투명 윈도우 그리기 (0) | 2013.10.02 |
상태바에 그림 출력 (0) | 2013.10.02 |