다음을 통해 공유


프레임 창 스타일(C++)

The frame windows you get with the framework are suitable for most programs, but you can gain additional flexibility by using the advanced functions PreCreateWindow and the MFC global function AfxRegisterWndClass. PreCreateWindow is a member function of CWnd.

If you apply the WS_HSCROLL and WS_VSCROLL styles to the main frame window, they are instead applied to the MDICLIENT window so users can scroll the MDICLIENT area.

If the window's FWS_ADDTOTITLE style bit is set (which it is by default), the view tells the frame window what title to display in the window's title bar based on the view's document name.

추가 정보

참고 항목

개념

프레임 창