Teach Yourself Visual C++ 6 in21 Days phần 5 potx

Teach Yourself Visual C++ 6 in21 Days phần 5 potx

Teach Yourself Visual C++ 6 in21 Days phần 5 potx

... the CSerializeView class 2: // 3: 4: #include “stdafx.h” 5: #include “Serialize.h” 6: continues 017 31240-9 CH13 4/27/00 12 :52 PM Page 3 05 Listing 13.18. THE CSerializeDoc.Serialize FUNCTION. ... This string defines the OLE DB data source for the database. It may be 021 31240-9 CH 15 4/27/00 12 :55 PM Page 350 ● How you can build a complete database application using regular forms co...

Ngày tải lên: 13/08/2014, 08:21

80 220 0
Teach Yourself Visual C++ 6 in21 Days phần 4 potx

Teach Yourself Visual C++ 6 in21 Days phần 4 potx

... the toolbar to 53 : // be dockable 54 : m_wndToolBar.EnableDocking(CBRS_ALIGN_ANY); 55 : 56 : /////////////////////// 57 : // MY CODE STARTS HERE 58 : /////////////////////// 59 : 60 : // Enable docking ... Toolbar 61 : m_wndColorBar.EnableDocking(CBRS_ALIGN_ANY); 62 : 63 : /////////////////////// 64 : // MY CODE ENDS HERE 65 : /////////////////////// 66 : 67 : EnableDocking(...

Ngày tải lên: 13/08/2014, 08:21

80 251 0
Teach Yourself Visual C++ 6 in21 Days phần 8 potx

Teach Yourself Visual C++ 6 in21 Days phần 8 potx

... 4/27/00 1: 06 PM Page 54 1 Answers 58 7 B 47: m_iPrevX = point.x; 48: m_iPrevY = point.y; 49: } 50 : 51 : /////////////////////// 52 : // MY CODE ENDS HERE 53 : /////////////////////// 54 : 55 : CDialog::OnMouseMove(nFlags, ... farm_house { 56 4 Appendix A 029 31240-9 App A 4/27/00 1: 06 PM Page 56 4 C++ Review 57 5 A LISTING A.17. Car.cpp. 1: // Workspace name: Inherit2 2: // P...

Ngày tải lên: 13/08/2014, 08:21

80 212 0
Teach Yourself Visual C++ 6 in21 Days phần 1 pdf

Teach Yourself Visual C++ 6 in21 Days phần 1 pdf

... Finishing Touches 55 Capturing Keyboard Events 56 Changing the Drawing Cursor 57 Making the Change Stick 60 Summary 64 Q&A 64 Workshop 65 Quiz 65 Exercises 65 DAY 4WORKING WITH TIMERS 67 Understanding ... Exception 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 Y...

Ngày tải lên: 13/08/2014, 08:21

80 374 0
Teach Yourself Visual C++ 6 in21 Days phần 2 pot

Teach Yourself Visual C++ 6 in21 Days phần 2 pot

... cursor flag 45: m_bCursor = TRUE; 46: // Set the screen cursor 47: SetCursor(lhCursor); 48: } 49: 50 : /////////////////////// 51 : // MY CODE ENDS HERE 52 : /////////////////////// 53 : 54 : CDialog::OnKeyDown(nChar, ... Listing 5 .6. LISTING 5 .6. THE OPENFILENAME STRUCTURE. 1: typedef struct tagOFN { // ofn 2: DWORD lStructSize; 3: HWND hwndOwner; 4: HINSTANCE hInstance; 5...

Ngày tải lên: 13/08/2014, 08:21

80 301 0
Teach Yourself Visual C++ 6 in21 Days phần 3 docx

Teach Yourself Visual C++ 6 in21 Days phần 3 docx

... 0, 255 ), // Blue 4: RGB( 0, 255 , 0), // Green 5: RGB( 0, 255 , 255 ), // Cyan 6: RGB( 255 , 0, 0), // Red 7: RGB( 255 , 0, 255 ), // Magenta 164 Day 8 012 31240-9 CH08 4/27/00 11 :54 AM Page 164 Adding ... pdc->SelectObject(&lInsidePen); 54 : break; 55 : } 56 : // Move down to the next position 57 : pStart.y = pStart.y + liDist; 58 : pEnd.y = pStart.y; 59 : // Draw the line...

Ngày tải lên: 13/08/2014, 08:21

80 239 0
Teach Yourself Visual C++ 6 in21 Days phần 6 ppsx

Teach Yourself Visual C++ 6 in21 Days phần 6 ppsx

... 255 ), // Blue 15: RGB( 0, 255 , 0), // Green 16: RGB( 0, 255 , 255 ), // Cyan 17: RGB( 255 , 0, 0), // Red 18: RGB( 255 , 0, 255 ), // Magenta 19: RGB( 255 , 255 , 0), // Yellow 20: RGB( 255 , 255 , 255 ) ... RGB( 0, 255 , 0), // Green 23: // RGB( 0, 255 , 255 ), // Cyan 24: // RGB( 255 , 0, 0), // Red 25: // RGB( 255 , 0, 255 ), // Magenta 26: // RGB( 255 , 255 , 0), // Yellow 27: // RG...

Ngày tải lên: 13/08/2014, 08:21

80 205 0
Teach Yourself Visual C++ 6 in21 Days phần 7 docx

Teach Yourself Visual C++ 6 in21 Days phần 7 docx

... from the GetLength function 5: return m_maDrawing.GetLength(); 6: } 7: 0 25 31240-9 CH19 4/27/00 1:00 PM Page 482 Doing Multiple Tasks at One Time––Multitasking 4 65 18 LISTING 18.17. THE CTaskingView ... } 14: } 15: else // We are 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 Pag...

Ngày tải lên: 13/08/2014, 08:21

80 302 0
Teach Yourself Visual C++ 6 in21 Days phần 9 ppsx

Teach Yourself Visual C++ 6 in21 Days phần 9 ppsx

... 1:08 PM Page 66 2 LISTING B.32. CONTINUED 48: { 49: // Spin the second idle thread 50 : pDocWnd->DoSpin(2); 51 : bRtn = TRUE; 52 : } 53 : } 54 : } 55 : } 56 : } 57 : } 58 : } 59 : return bRtn; 60 : } 2. When ... code here 4: 5: // 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 Exc...

Ngày tải lên: 13/08/2014, 08:21

80 242 0
Teach Yourself Visual C++ 6 in 21 Days phần 1 pptx

Teach Yourself Visual C++ 6 in 21 Days phần 1 pptx

... 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 62 0 Quiz 62 0 Exercise 62 1 Day 15 62 3 Quiz 62 3 Exercise 62 4 Day 16 6 25 Quiz 62 5 Exercises ... 11: 06 AM Page 30 Quiz 59 3 Exercises 59 4 Day 6 5 96 Quiz 5 96 Exercises 5 96 Day 7 59 7 Quiz 59 7 Exercises 59 8...

Ngày tải lên: 13/08/2014, 18:20

80 284 0
w