Changeset 148
- Timestamp:
- 08/08/11 14:37:37 (13 years ago)
- Location:
- trunk/MFCtooling/TestProg
- Files:
-
- 5 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 -
trunk/MFCtooling/TestProg/TestProg.rc
r32 r148 370 370 // 371 371 372 IDD_ABOUTBOX DIALOGEX 0, 0, 171, 202372 IDD_ABOUTBOX DIALOGEX 0, 0, 271, 218 373 373 STYLE DS_SETFONT | DS_MODALFRAME | DS_FIXEDSYS | WS_POPUP | WS_CAPTION | WS_SYSMENU 374 374 CAPTION "About TestProg" … … 378 378 LTEXT "TestProg, Version 1.0",IDC_STATIC,42,14,114,8,SS_NOPREFIX 379 379 LTEXT "Copyright (C) 2010",IDC_STATIC,42,26,114,8 380 DEFPUSHBUTTON "OK",IDOK, 114,181,50,14,WS_GROUP381 EDITTEXT IDC_EDIT1, 37,57,86,16,ES_AUTOHSCROLL382 CONTROL "Check1",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP, 41,79,39,10383 COMBOBOX IDC_COMBO1, 42,92,48,30,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP380 DEFPUSHBUTTON "OK",IDOK,200,188,50,14,WS_GROUP 381 EDITTEXT IDC_EDIT1,17,57,86,16,ES_AUTOHSCROLL 382 CONTROL "Check1",IDC_CHECK1,"Button",BS_AUTOCHECKBOX | WS_TABSTOP,17,79,39,10 383 COMBOBOX IDC_COMBO1,18,92,48,16,CBS_DROPDOWN | CBS_SORT | WS_VSCROLL | WS_TABSTOP 384 384 CONTROL "Radio1",IDC_RADIO1,"Button",BS_AUTORADIOBUTTON,19,124,38,10 385 385 CONTROL "Radio2",IDC_RADIO2,"Button",BS_AUTORADIOBUTTON,19,139,38,10 386 CONTROL "Radio3",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,18,156,38,10 387 GROUPBOX "Static",IDC_STATIC,7,114,68,63 388 CONTROL "",IDC_SLIDER1,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,71,122,100,15 386 CONTROL "Radio3",IDC_RADIO3,"Button",BS_AUTORADIOBUTTON,19,155,38,10 387 GROUPBOX "Static",IDC_STATIC,15,114,68,63 388 CONTROL "",IDC_SLIDER1,"msctls_trackbar32",TBS_VERT | TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,91,85,21,93 389 LISTBOX IDC_LIST1,132,20,116,49,LBS_SORT | LBS_NOINTEGRALHEIGHT | WS_VSCROLL | WS_TABSTOP 390 CONTROL "",IDC_TAB1,"SysTabControl32",0x0,135,115,119,55 391 CONTROL "",IDC_SLIDER2,"msctls_trackbar32",TBS_BOTH | TBS_NOTICKS | WS_TABSTOP,17,182,98,16 389 392 END 390 393 … … 440 443 BEGIN 441 444 LEFTMARGIN, 7 442 RIGHTMARGIN, 164445 RIGHTMARGIN, 264 443 446 TOPMARGIN, 7 444 BOTTOMMARGIN, 195447 BOTTOMMARGIN, 211 445 448 END 446 449 END -
trunk/MFCtooling/TestProg/TestProg.vcproj
r32 r148 2 2 <VisualStudioProject 3 3 ProjectType="Visual C++" 4 Version="9 .00"4 Version="9,00" 5 5 Name="TestProg" 6 6 ProjectGUID="{98889796-F392-4C4F-A619-BD2C1509B392}" … … 46 46 Name="VCCLCompilerTool" 47 47 Optimization="0" 48 AdditionalIncludeDirectories="" 48 49 PreprocessorDefinitions="WIN32;_WINDOWS;_DEBUG" 49 50 MinimalRebuild="true" … … 70 71 RegisterOutput="true" 71 72 LinkIncremental="2" 73 AdditionalLibraryDirectories="" 72 74 GenerateDebugInformation="true" 73 75 SubSystem="2" … … 94 96 <Tool 95 97 Name="VCPostBuildEventTool" 98 CommandLine="copy C:\Projects\MFCtooling\Debug\userlog.dll C:\Programme\Mahr\MarWin\userlog.dll /y" 96 99 /> 97 100 </Configuration> … … 127 130 Optimization="2" 128 131 EnableIntrinsicFunctions="true" 132 AdditionalIncludeDirectories="C:\Projects" 129 133 PreprocessorDefinitions="WIN32;_WINDOWS;NDEBUG" 130 134 MinimalRebuild="false" … … 150 154 Name="VCLinkerTool" 151 155 RegisterOutput="true" 156 AdditionalDependencies="C:\Projects\msl\lib\win32\release\trace.lib" 152 157 LinkIncremental="1" 158 AdditionalLibraryDirectories="C:\Projects" 153 159 GenerateDebugInformation="true" 154 160 SubSystem="2" -
trunk/MFCtooling/TestProg/resource.h
r32 r148 19 19 #define IDC_SLIDER1 1006 20 20 #define IDC_SPIN1 1007 21 #define IDC_SLIDER2 1007 22 #define IDC_LIST1 1008 23 #define IDC_TAB1 1010 24 #define IDC_TREE1 1013 21 25 #define ID_CANCEL_EDIT_CNTR 32768 22 26 #define ID_CANCEL_EDIT_SRVR 32769 … … 28 32 #define _APS_NEXT_RESOURCE_VALUE 131 29 33 #define _APS_NEXT_COMMAND_VALUE 32771 30 #define _APS_NEXT_CONTROL_VALUE 10 0834 #define _APS_NEXT_CONTROL_VALUE 1014 31 35 #define _APS_NEXT_SYMED_VALUE 101 32 36 #endif
Note: See TracChangeset
for help on using the changeset viewer.