Changeset 148 for trunk/MFCtooling/TestProg/TestProg.cpp
- Timestamp:
- 08/08/11 14:37:37 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MFCtooling/TestProg/TestProg.cpp
r32 r148 11 11 #include "TestProgView.h" 12 12 #include "afxwin.h" 13 #include "afxcmn.h" 13 14 14 15 #ifdef _DEBUG … … 206 207 DECLARE_MESSAGE_MAP() 207 208 public: 209 CListBox listbox_test; 210 CTabCtrl tabControl_test; 211 afx_msg void OnBnClickedButton1(); 208 212 }; 209 213 … … 216 220 { 217 221 CDialog::DoDataExchange(pDX); 218 } 219 220 222 223 DDX_Control(pDX, IDC_LIST1, listbox_test); 224 for(int i=0; i<10; i++) listbox_test.AddString(L"Testeintrag"); 225 226 DDX_Control(pDX, IDC_TAB1, tabControl_test); 227 tabControl_test.InsertItem(0, L"Tab 1"); 228 tabControl_test.InsertItem(1, L"Tab 2"); 229 tabControl_test.InsertItem(2, L"Tab 3"); 230 } 221 231 222 232 BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) … … 233 243 234 244 // CTestProgApp message handlers 235
Note: See TracChangeset
for help on using the changeset viewer.