Changeset 360 for trunk/MFCtooling


Ignore:
Timestamp:
01/27/12 12:02:50 (13 years ago)
Author:
sherbold
Message:
  • modified MFCTestProg to display text entries in English
Location:
trunk/MFCtooling/TestProg
Files:
2 edited

Legend:

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

    r148 r360  
    33 
    44#include "stdafx.h" 
     5#include <iostream> 
    56#include "TestProg.h" 
    67#include "MainFrm.h" 
     
    222223 
    223224        DDX_Control(pDX, IDC_LIST1, listbox_test); 
    224         for(int i=0; i<10; i++) listbox_test.AddString(L"Testeintrag"); 
     225        for(int i=0; i<10; i++) { 
     226                wchar_t* entry = new wchar_t[8]; 
     227                wsprintf(entry, L"Entry %i", i); 
     228                listbox_test.AddString(entry); 
     229        } 
    225230 
    226231        DDX_Control(pDX, IDC_TAB1, tabControl_test); 
Note: See TracChangeset for help on using the changeset viewer.