본문 바로가기
개발/C++,MFC

[MFC] Windows Style 창 스타일

by 언제나초심. 2012. 9. 27.
반응형

참고 주소

http://msdn.microsoft.com/ko-kr/library/czada357(v=vs.100).aspx





WS_BORDER   테두리


WS_CAPTION   Creates a window that has a title bar (implies the WS_BORDER style). Cannot be used with the WS_DLGFRAME style.


WS_CHILD   자식창을 만든다. WS_POPUP style 과 같이 쓰일 수 없다.


WS_CHILDWINDOW   WS_CHILD style 과 같다.


WS_CLIPCHILDREN   Excludes the area occupied by child windows when you draw within the parent window. Used when you create the parent window.


WS_CLIPSIBLINGS   Clips child windows relative to each other; that is, when a particular child window receives a paint message, the WS_CLIPSIBLINGS style clips all other overlapped child windows out of the region of the child window to be updated. (If WS_CLIPSIBLINGS is not given and child windows overlap, when you draw within the client area of a child window, it is possible to draw within the client area of a neighboring child window.) For use with the WS_CHILD style only.




WS_DISABLED   비활성화 되어있는 창을 만든다.

WS_VISIBLE   볼수 있는 창을 만든다.



WS_HSCROLL   수평 스크롤이 있는 창을 만듭니다.

WS_VSCROLL  세로 스크롤 막대가있는 창을 만듭니다.



WS_DLGFRAME   Creates a window with a double border but no title.


WS_GROUP   Specifies the first control of a group of controls in which the user can move from one control to the next with the arrow keys. All controls defined with the WS_GROUP style FALSE after the first control belong to the same group. The next control with the WS_GROUP style starts the next group (that is, one group ends where the next begins).




WS_ICONIC   Creates a window that is initially minimized. Same as the WS_MINIMIZE style.


WS_MAXIMIZE   최대 크기의 창을 만듭니다.

WS_MINIMIZE   Creates a window that is initially minimized. For use with the WS_OVERLAPPED style only.




WS_OVERLAPPED   Creates an overlapped window. An overlapped window usually has a caption and a border.


WS_OVERLAPPEDWINDOW   Creates an overlapped window with the WS_OVERLAPPED, WS_CAPTION, WS_SYSMENU, WS_THICKFRAME, WS_MINIMIZEBOX, and WS_MAXIMIZEBOX styles.


WS_POPUP   팝업 창을 생성. WS_CHILD style 과 같이 쓰일 수 없다.

WS_POPUPWINDOW   Creates a pop-up window with the WS_BORDER, WS_POPUP, and WS_SYSMENU styles. The WS_CAPTION style must be combined with the WS_POPUPWINDOW style to make the Control menu visible.


WS_SIZEBOX   크기 조정 테두리가있는 창을 만듭니다. WS_THICKFRAME style 과 같다.


WS_MAXIMIZEBOX    최대화 버튼이있는 창을 만듭니다.

WS_MINIMIZEBOX    최소화 버튼이있는 창을 만듭니다.

WS_SYSMENU        제목 표시 줄에 컨트롤 메뉴 상자가있는 창을 만듭니다.  윈도우 용으로 만(타이틀바에만) 사용됩니다.


WS_TABSTOP   Specifies one of any number of controls through which the user can move by using the TAB key. The TAB key moves the user to the next control specified by the WS_TABSTOP style.


WS_THICKFRAME   Creates a window with a thick frame that can be used to size the window.


WS_TILED   Creates an overlapped window. An overlapped window has a title bar and a border. Same as the WS_OVERLAPPED style.


WS_TILEDWINDOW   Creates an overlapped window with the WS_OVERLAPPED, WS_CAPTION, WS_SYSMENU, WS_THICKFRAME, WS_MINIMIZEBOX, and WS_MAXIMIZEBOX styles. Same as the WS_OVERLAPPEDWINDOW style.


반응형