We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6aa1569 commit e9f83b8Copy full SHA for e9f83b8
docs/mfc/codesnippet/CPP/cmfclistctrl-class_2.cpp
@@ -1,11 +1,11 @@
1
// DWORD dwStyle
2
- // CRect rectDummy
3
- m_wndWatch.Create(dwStyle, rectDummy, this, ID_LIST_1);
4
- m_wndWatch.SendMessage(LVM_SETEXTENDEDLISTVIEWSTYLE, 0, LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES);
5
- m_wndWatch.InsertColumn(0, _T("Variable"), LVCFMT_LEFT, 100);
6
- m_wndWatch.InsertColumn(1, _T("Value"), LVCFMT_LEFT, 100);
+ // CRect rectDummy
+ m_wndWatch.Create(dwStyle, rectDummy, this, ID_LIST_1);
+ m_wndWatch.SendMessage(LVM_SETEXTENDEDLISTVIEWSTYLE, 0, LVS_EX_FULLROWSELECT | LVS_EX_GRIDLINES);
+ m_wndWatch.InsertColumn(0, _T("Variable"), LVCFMT_LEFT, 100);
+ m_wndWatch.InsertColumn(1, _T("Value"), LVCFMT_LEFT, 100);
7
8
- m_wndWatch.InsertItem(0, _T("m_nCount"));
9
- m_wndWatch.SetItemText(0, 1, _T("100"));
+ m_wndWatch.InsertItem(0, _T("m_nCount"));
+ m_wndWatch.SetItemText(0, 1, _T("100"));
10
11
- m_wndWatch.SetFont(&m_Font);
+ m_wndWatch.SetFont(&m_Font);
0 commit comments