Ignore:
Timestamp:
08/08/11 14:37:37 (13 years ago)
Author:
jhall
Message:

added some new elements

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MFCtooling/TestProg/TestProg.cpp

    r32 r148  
    1111#include "TestProgView.h" 
    1212#include "afxwin.h" 
     13#include "afxcmn.h" 
    1314 
    1415#ifdef _DEBUG 
     
    206207        DECLARE_MESSAGE_MAP() 
    207208public: 
     209        CListBox listbox_test; 
     210        CTabCtrl tabControl_test; 
     211        afx_msg void OnBnClickedButton1(); 
    208212}; 
    209213 
     
    216220{ 
    217221        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} 
    221231 
    222232BEGIN_MESSAGE_MAP(CAboutDlg, CDialog) 
     
    233243 
    234244// CTestProgApp message handlers 
    235  
Note: See TracChangeset for help on using the changeset viewer.