Teach Yourself Visual C++ 6 in21 Days phần 9 ppsx
... // Enable the button if busy 6: pCmdUI->Enable(GetBusy()); 7: } 63 6 Appendix B 030 31240 -9 APP B 4/27/00 1:07 PM Page 63 6 Understanding and Exception Handling 66 5 D 17: } 18: catch(CResourceException* ... open the file!”); 16: e->Delete(); 66 4 Appendix D 032 31240 -9 APP D 4/27/00 1:08 PM Page 66 4 5. You should see an OnPrint virtual function in the New Virtual Functions...
Ngày tải lên: 13/08/2014, 08:21
... Handling 66 1 E Using the Debugger and Profiler 67 7 F Using MFC’s Helper Classes 69 9 Index 731 000 31240 -9 FM 4/27/00 11:02 AM Page iv Sams Teach Yourself Visual C++ ® 6 in 21 Days Copyright © 199 8 ... the Stop Button 79 Summary 81 vi Sams Teach Yourself Visual C++ 6 in 21 Days 000 31240 -9 FM 4/27/00 11:02 AM Page vi Overview Introduction 1 WEEK 1 AT A GL...
Ngày tải lên: 13/08/2014, 08:21
... here 4: 5: /////////////////////// 6: // MY CODE STARTS HERE 7: /////////////////////// 8: 9: // Update the variables 76 Day 4 0 06 31240 -9 CH04 4/27/00 11: 09 AM Page 76 Getting User Feedback—Adding ... IDC_SIZENESW • IDC_SIZEWE • IDC_SIZENS • IDC_NO • IDC_APPSTARTING • IDC_HELP 66 Day 3 005 31240 -9 CH03 4/27/00 11:08 AM Page 66 Static Text ID IDC_STATIC Caption Count: Static...
Ngày tải lên: 13/08/2014, 08:21
Teach Yourself Visual C++ 6 in21 Days phần 3 docx
... as in Figure 9. 5. FIGURE 9. 3. The ActiveX controls that can be added to your project. FIGURE 9. 4. Visual C++ tells you what classes will be added to your project. 013 31240 -9 CH 09 4/27/00 11:57 ... is a 166 Day 8 012 31240 -9 CH08 4/27/00 11:54 AM Page 166 LISTING 8 .9. CONTINUED 17: HBITMAP hBitmap = (HBITMAP) ::LoadImage(AfxGetInstanceHandle(), 18: m_sBitmap, IMAGE_BITMAP,...
Ngày tải lên: 13/08/2014, 08:21
Teach Yourself Visual C++ 6 in21 Days phần 4 potx
... /////////////////////// 59: 60 : // Enable docking for the Color Toolbar 61 : m_wndColorBar.EnableDocking(CBRS_ALIGN_ANY); 62 : 63 : /////////////////////// 64 : // MY CODE ENDS HERE 65 : /////////////////////// 66 : 67 : ... wide as the combo box that you are going to create. 262 Day 12 0 16 31240 -9 CH12 4/27/00 12:30 PM Page 262 015 31240 -9 CH11 4/27/00 12: 29 PM Page 242...
Ngày tải lên: 13/08/2014, 08:21
Teach Yourself Visual C++ 6 in21 Days phần 5 potx
... with Visual C++. You should know where to place any initialization information for a new set of data and where to clean up when closing a set of data. WEEK 2 8 9 10 11 12 13 14 0 19 31240 -9 Rev ... (pDoc) 6: { 7: // Display the current record position in the set 8: m_sPosition.Format(“Record %d of %d”, pDoc->GetCurRecordNbr(), 9: pDoc->GetTotalRecords()); 10: } 3 06 Day 13 01...
Ngày tải lên: 13/08/2014, 08:21
Teach Yourself Visual C++ 6 in21 Days phần 6 ppsx
... for the test application. 392 Day 16 022 31240 -9 CH 16 4/27/00 12: 56 PM Page 392 Today, you will learn ● About the different types of DLLs that you can create with Visual C++ and how to determine ... AfxMessageBox(“Out of memory”, MB_ICONSTOP | MB_OK); 64 : // Did we create a line object? 65 : if (pLine) 66 : { 67 : // Delete it 68 : delete pLine; 69 : pLine = NULL; 70: } 7...
Ngày tải lên: 13/08/2014, 08:21
Teach Yourself Visual C++ 6 in21 Days phần 7 docx
... running the thread 16: { 17: int iSpnr; 18: // Which spinner to use? 19: switch (nIndex) 20: { 21: case 0: 462 Day 18 024 31240 -9 CH18 4/27/00 12: 59 PM Page 462 LISTING 19. 12. THE MODIFIED CSquiggleCtrl ... Invalidate(); 16: // Fire the FileLoaded event 17: FireFileLoaded(); 18: } 19: catch (CFileException err) 490 Day 19 FIGURE 19. 8. The ActiveX Events tab of the Class Wizard....
Ngày tải lên: 13/08/2014, 08:21
Teach Yourself Visual C++ 6 in21 Days phần 8 potx
... Class3 2: // Program Name: Class3.cpp 3: #include <iostream.h> 566 Appendix A 0 29 31240 -9 App A 4/27/00 1: 06 PM Page 566 5 56 Appendix A FIGURE A.8. Using the address-of operator. The indirection ... GetDlgItem(IDC_RUNPGM)->ShowWindow(FALSE); 61 : GetDlgItem(IDC_STATICPGM)->ShowWindow(FALSE); 62 : } 63 : 64 : /////////////////////// 65 : // MY CODE ENDS HERE 66 : //...
Ngày tải lên: 13/08/2014, 08:21
Teach Yourself Visual C++ 6 in 21 Days phần 1 pptx
... 31240 -9 CH02 4/27/00 11: 06 AM Page 30 Quiz 593 Exercises 594 Day 6 5 96 Quiz 5 96 Exercises 5 96 Day 7 597 Quiz 597 Exercises 598 Day 8 60 2 Quiz 60 2 Exercises 60 2 Day 9 60 4 Quiz 60 4 Exercise 60 4 Day ... 10 60 5 Quiz 60 5 Exercise 60 6 Day 11 61 2 Quiz 61 2 Exercise 61 2 Day 12 61 4 Quiz 61 4 Exercises 61 5 Day 13 61 6 Quiz 61 6 Exercise 61 7 Day 14...
Ngày tải lên: 13/08/2014, 18:20