Control Type
|
WNDCLASS
|
MFC Class
|
Buttons
|
"BUTTON"
|
CButton
|
List boxes
|
"LISTBOX"
|
CListBox
|
Edit controls
|
"EDIT"
|
CEdit
|
Combo boxes
|
"COMBOBOX"
|
CComboBox
|
Scroll bars
|
"SCROLLBAR"
|
CScrollBar
|
Static controls
|
"STATIC"
|
CStatic
|
WNDCLASS在CreateEx函数中使用,例如:
m_wndListBox.CreateEx (WS_EX_CLIENTEDGE, _T("LISTBOX"), NULL,
WS_CHILD | WS_VISIBLE | LBS_STANDARD, rect, this, IDC_LISTBOX);