다음을 통해 공유


MFC에서 사용하는 스타일

Use the following styles when you create the corresponding MFC object. In most cases, these styles are set in the dwStyle parameter of the class Create function.

MFC Styles

스타일

설명

Button styles

Applies to CButton Class objects, such as radio buttons, check boxes and pushbuttons. Specify a combination of styles in the dwStyle parameter of CButton::Create.

Combo-box styles

Applies to CComboBox Class objects. Specify a combination of styles in the dwStyle parameter of CComboBox::Create.

Edit styles

Applies to CEdit Class objects. Specify a combination of styles in the dwStyle parameter of CEdit::Create.

Frame-window styles

Applies to CFrameWnd Class objects. Specify a combination of styles in the dwStyle parameter of CFrameWnd::Create.

List-box styles

Applies to CListBox Class objects. Specify a combination of styles in the dwStyle parameter of CListBox::Create.

Message-box styles

Applies to AfxMessageBox items. Specify a combination of styles in the nType parameter of AfxMessageBox.

Scroll-bar styles

Applies to CScrollBar Class objects. Specify a combination of styles in the dwStyle parameter of CScrollBar::Create.

Static styles

Applies to CStatic Class objects. Specify a combination of styles in the dwStyle parameter of CStatic::Create.

창 스타일

Applies to CWnd Class objects. Specify a combination of styles in the dwStyle parameter of CWnd::Create or CWnd::CreateEx.

Extended window styles

Applies to CWnd Class objects. Specify a combination of styles in the dwExStyle parameter of CWnd::CreateEx.

참고 항목

개념

클래스 라이브러리 개요