시스템 메뉴를 없애려면
타이틀바에 있는 시스템 메뉴를 없애려면 CFrameWnd 클래스에서 상속받은
CMainFrame에 있는 PreCreateWindow()에 다음과 같이 한 줄을 추가하면
간단히 제거할 수 있습니다.
cs.style &= ~WS_SYSMENU;
보통 윈도우 스타일인 WS_OVERLAPPEDWINDOW에는 시스템 메뉴와 여러
윈도우 스타일이 정의돼 있기 때문에 기본값에서 시스템 메뉴를 없애면 되는
거죠.
Your email address will not be published. Required fields are marked *
Comment *
Name *
Email *
Website
Save my name, email, and website in this browser for the next time I comment.
Δ