Styles Used by 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
Style |
Description |
---|---|
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. |
|
Applies to CComboBox Class objects. Specify a combination of styles in the dwStyle parameter of CComboBox::Create. |
|
Applies to CEdit Class objects. Specify a combination of styles in the dwStyle parameter of CEdit::Create. |
|
Applies to CFrameWnd Class objects. Specify a combination of styles in the dwStyle parameter of CFrameWnd::Create. |
|
Applies to CListBox Class objects. Specify a combination of styles in the dwStyle parameter of CListBox::Create. |
|
Applies to AfxMessageBox items. Specify a combination of styles in the nType parameter of AfxMessageBox. |
|
Applies to CScrollBar Class objects. Specify a combination of styles in the dwStyle parameter of CScrollBar::Create. |
|
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. |
|
Applies to CWnd Class objects. Specify a combination of styles in the dwExStyle parameter of CWnd::CreateEx. |