Brief Full Advanced Search Search Tips
|  |  | To access the contents, click the chapter and section titles. Fast Track Visual C++ 6.0 Programming (Publisher: John Wiley & Sons, Inc.) Author(s): Steve Holzner ISBN: 0471312908 Publication Date: 09/01/98 Search this book:
Previous | Table of Contents | Next
## Index A About Box, design, 570–571 About.cpp, 578 About.h, 578 Accelerator Editor, 167, 187 Accelerator keys, usage. See Indicators. Accelerators, usage. See Menus. ActiveX, 459 events, 505, 531–532 methods, 505, 530–531 programming, 535 properties, 505, 528–530, 535 ActiveX control, 1, 526. See also Writer ActiveX control; Writer2 ActiveX control. creation, 505 data display, 509–510 icon, setting, 512 keystrokes, acceptance, 507–509 testing, 510–511 AddString(), 180 Advanced screen graphics, 245 AfxBeginThread() procedure, 355, 356 AfxGetApp(), 554 AfxMessageBox(), 394 Alignment/spacing controls. See Form views. Anchor point, 248, 249 AnchorPoint, 248 AppendMenu(), 166 Application object, 23–32 AppWizard, 4, 5, 15, 16, 54, 78, 90, 95, 105, 106, 110, 116, 129, 142, 183, 200, 224, 302, 318, 330, 371, 387–389, 392, 397, 406, 443, 459, 487, 492, 551, 552 Archive object, 39 Arrays, 351, 354, 357, 372, 378 atoi(), 114 B Backspace character, 202 Bands, 183 Base address, 285 Base class, 106, 109, 116, 120. See also CData; CObject. box, 75 Binary raster operations, 251–254 BitBlt(), 255–258 Bitmapped menu items, 159–162 Bitmaps. See Box bitmap. addition. See Tree views. display. See Views. placement. See Clipboard. resource, 133 Borders, 44 Box bitmap, 161 BringWindowToTop(), 426 Browser, creation. See Web browser. BrowserDlg.cpp, 343 BrowserDlg.h, 343 Buttons, 176 BYTE, 290 C C++ programs, 286, 354 C protocol, 392 Callback function, 427 CallNextHookEx(), 428 Capture area, 259 Capture site, 254 CaptureFlag, 246 CArchive class, 204 Caret addition. See Views. moving, 211 position, updating, 211–212 CChildFrame, 55 CClientDC class, 63 CCmdUI object, 153 CComboBox, 180 class, 177 CContainerCntrItem, 461, 465 CData, 202 base class, 204 class, 204, 205 object, 204 Cdata.cpp, 205 CDC class, 267 CDocument, 93 CDoublerDLLApp, 392 CEdit, 178 CEditView, 97, 142, 208, 422 class, 94–95, 321 CFile Read(), 332 CFiles, usage, 333. See also Files. CFormView class, 533 CFtpConnection, 329–331 CGopherConnection, 329 CGopherFile, 328 Character-reading function, 43 Characters deletion, 202 string, 361 Check marks menu item, 152, 155 setting. See Default check marks. Checkable menu items, 149–153 Child processes, 306 Child window, 52, 55, 56, 90, 93–95, 110, 115, 143, 556 CHtmlView, 116 class, 120 CHttpConnection, 329 CHttpFile, 319, 320, 322, 328 pointer, 321 CInternetFile, 328–330 CInternetSession class, 318, 331 Circles program, creation, 272–281 CirclesView.cpp, 274 CirclesView.h, 272, 274 CKeysSDIAapp, 25 CKeysSDIDoc(), 38 Class variable, 166 ClassWizard, 6, 15, 57, 63, 113, 121, 135, 142, 151, 154, 161, 165, 167, 182, 186, 187, 200, 214, 341, 507, 530–534, 570 Class name, 20, 91 Member Function box, 21 CLaunchDLL class, 445 Clear(), 527, 528, 530, 532, 535 Client area, 93 Client coordinates, 167, 248 ClientToScreen(), 167 Clipboard bitmap placement, 255–258 usage, 215–243 CloseAllDocuments(), 556 CMainFrame, 55, 179 CMainFrame::OnCreate(), 32 CMainFrame::PreCreateWindow(), 32 CMenu ModifyMenu(), 162 CMenu object, 165 CMenusView, 152 class, 158 CMetaFileDC class, 268, 275 object, 268 CMultiDocTemplate class, 55 CntrItem.cpp, 461, 470 CntrItem.h, 470 CObject base class, 206 class, 204 Code. See Events; Exit code. dialog box addition, 121–129 popup menu item connections, 167–176 COM. See Component Object Model. Combo boxes, 176. See also Toolbars ComboView.cpp, 187 Company name, getting, 575 Compiler error, 357 Component Object Model (COM), 1, 459 Compound document applications, 459 Container creation, 459–486 item, 461–463 program view, 463–467 ContainerView.cpp, 463, 470 ContainerView.h, 470 ControlWizard, 505, 509, 528 usage, 506–507 Copier, 245 CopierView.cpp, 259 CopierView.h, 259 Counter DLL, 406–419 Counter program, creation, 409–419 CounterDLL.def, 410 CounterDLL.dll, creation, 406–407 CounterDLL.h, 406, 409, 410 CounterDLL.lib, 409 CPoint object, 209, 248 CPrintInfo object, 224–226 Create(), 134, 178, 180, 269, 271 CreateCompatibleBitmap(), 162 CreateCompatibleDC(), 161 CreateDC(), 250 CreateEnhanced(), 275 CreateEvent(), 374 CreateFileMapping(), 303, 306 CreateLauncherDll.dll, 447 CreatePointFont(), 225 CreatePopupMenu(), 165 CreateProcess(), 424, 425 CreateSolidCaret(), 208, 209 CRect object, 180, 461 CRedraw class, 272–274 design, 268 writing, 268–270 CRedraw.h, 268 CRichEditDoc, 109 CRichEditView View, 106 CScrollView, 78, 79 class, 74, 75, 78, 79 CServerSrvrItem, 489, 490 CSingleDocTemplate class, 54 CSize class, 77 CSplit, 142 CString array, 57 CString Empty(), 20 CString function, 508 CString Left(), 202 CString object, 20, 37, 39, 57, 204, 222, 289, 302, 304, 362, 396, 488, 573 CString text, 38 CString variable, 534 CThreadsView class, 354, 356 CThreadsView::OnMaxFound (), 361 CToolBar class, 177, 178 CToolBar2 class, 178 CToolBar GetItemRect(), 180 CTreeView, 129 CurrentPoint, 248 CWnd, 424 D Data display. See ActiveX control. file. See Editor. handling. See Multiple Document Interface programs. members, 206 reading. See Registry. return. See Threads. serialization, 39–43 transfer, 302 Data object, 61 serialization, 204–207 Data storage, 37. See also Documents; Registry. design. See Editor program. Data structure, 353, 355, 361 clearing, 425 Deactivate(), 468 Default check marks, setting, 150 Default cursor, change. See Views. Default extension, setting. See Editor. Default file extension, 207 Default mouse cursor, 214 DeleteMetaFile(), 272 Destructor, 269 Device contexts, 256, 273. See also Metafiles. brushes, 251 metafile association, 275 Dialog-based program, 3, 9 Dialog boxes, 97, 105, 122, 323, 576 addition. See Code. design. See Uniform Resource Locator. UpdateData() usage, 123 Dialog Editor, 15, 110 Dirty flag, 51 Disk, metafiles, creation, 269 Distributed programs update, DLL usage, 387 DLLs. See Dynamic link libraries. Dockable toolbars, usage, 176–184 Docking toolbar, 487 Document object, 18, 24, 37–43 Document size resetting, 79 setting, 77–90 Documents. See Server. data storage, 38–39 handling. See Text documents. interface. See Multiple Document Interface. modified flag, setting, 64–74 naming, 53 pages, number determination, 224 template, 25, 54, 56, 95, 96, 143. See also New document template. views, access, 92–94 DoModal(), 122 DOS, 283 DOS terminate, 421 Double-clicked item, determination, 135–142 Double clicks, handling, 469–486 Doubler DLL, 388–406 DoublerDLL.cpp, 391, 392, 397 DoublerDLL.dll, 388, 394, 395 DoublerDLL.h, 391, 397 DoublerDLL.lib, 388, 394, 395 Doubler program, 394–395 DoubleThreads, 369 program, creation, 371–373 DoubleThread.h, 371, 379 DoubleThreads.cpp, 379 DoVerb(), 469 Drag and drop, 109 DrawFlag, 247, 254 Dynamic link libraries (DLLs), 283, 284, 387, 397, 443, 445. See also Counter DLL; Doubler DLL. function, exporting, 391–394 linking. See New DLL. object, 444 shared memory, 406–419 shared memory, setting up, 408–409 usage. See Distributed programs update. E Edit box, 3 Edit control, 3 Edit views, 105 Editor, 214 application, 199 data file, default extension setting, 207–208 files, registration. See Windows. icon, 208 keys reading, 200–201 Editor program, 213, 217, 227 creation, 199–204 data storage, design, 202–204 printing, 224–226 EditorDoc.cpp, 227 EditorDoc.h, 227 EditorView.cpp, 227 EditorView.h, 227 Empty string, 19 EnableShellOpen(), 208 Encapsulation, 2 Entry, 552, 554 EventArray[], 430, 431 Events. See ActiveX events; System-wide event. code, 428, 433 firing, 532 handling. See Server. playback, 432–434 recording, 427–429 resetting, 374–375 setting, 374–375 skipping, 434–443 times, 433 types, 430 usage. See Threads coordination. EXE project, 16 Exit code, 359 F File transfer protocol (FTP), 315, 317, 323, 329–341 connection, creation, 331 program, creation, 330–331 protocol files, 328 Files attributes, 303 disk reading, CFile usage, 332–341 downloading, 331–332 handle, 303 protocols, 323 views, creation. See Memory. working, 204–212 FileView tab, 18 FindWindow(), 424, 425 FireChange(), 532 Firing. See Events. Focus. See Input focus. gain/loss, 214–215 Form, design, 111–113 Form views, 110–115 alignment/spacing controls, 112 FormattedString, 573–575 object, 576 Frame window, 52, 55, 56, 162 FTP. See File transfer protocol. FTPView.cpp, 335 FTPView.h, 335 Full power menus, 149 G GetBkColor(), 202 GetCurSel(), 178 GetDC(), 268, 270, 274 GetDeviceCaps(), 224 GetDocument(), 44 GetDocumentSize(), 78 GetEditCtrl(), 321, 334 GetFile(), 331 GetFileVersionInfo(), 571, 572 GetFileVersionInfoSize(), 571 GetFirstPosition(), 93 GetFtpConnection(), 331 GetInPlaceActiveItem(), 468 GetItemNumber(), 178, 182 GetKeyState(), 446 GetLength(), 529, 530, 534 GetMenu(), 162 GetMessagePos(), 248 GetModuleFileName(), 291 GetNextItem(), 467 GetNextView(), 93 GetParent(), 93 GetProfileInt(), 552 GetProfileString(), 552, 555 GetStartPosition(), 467 GetStatusBarCtrl(), 184 GetSystemInfo(), 285, 287 GetText(), 38, 201 GetTextExtent(), 77, 211 GetTickCount(), 433 GetTreeCtrl(), 129 Global memory, 218, 219 GlobalLock(), 218, 222 GlobalMemoryStatus(), 286 Gopher, 323, 329 Graphic figures, stretching, 249–251 Graphics programming, 267 H Hatch styles, 251 Header, 203, 342 printing, 226–243 HelloDlg, 3–15 creation, 4–15 Hints, 60–62, 64 Hooks. See Keyboard hooks; Playback hook; Record hook; Windows. installation, 444–445 procedure, 445–447 unhooking, 427 Hotkeys, 421 collisions, 443 HTML. See Hypertext Markup Language. HTMLView, 116, 120 HTMLViewView.cpp, 124 HTMLViewView.h, 124 HTTP. See Hypertext Transfer Protocol. HTTPView.cpp, 323 HTTPView.h, 323 Hypertext Markup Language (HTML), 321 views, 91, 105, 115–129, 317, 341 windows, 1 Hypertext Transfer Protocol (HTTP) protocol, 317–329 Hypertext Transfer Protocol (HTTP) program, 322 creation, 318 I I-beam cursor, 213 Icon. See Editor. setting. See ActiveX control. IDC_EDIT1, 6 IDE. See Integrated Development Environment. Images list, 133 usage. See Tree controls. IncrementCounter(), 406, 409 Indicators accelerator keys, usage, 187–198 activation. See Status bars. Inheritance, 2, 3 Initialization data, 551 process, 164 InitInstance(), 26, 55, 56, 555 Input focus, 214, 426 Insert mode, 185 Insertion point, 208, 213 InsertItem(), 129, 132 InstallLauncher(), 444, 445 Integrated Development Environment (IDE), 4, 18 Internet connection, 317, 323 session, starting, 318–319 transfer control, 330 Internet Explorer, 116, 183 Invalidate(), 22, 44 Items. See Bitmapped menu items; Checkable menu items; Container; Menu items; New Window item; Root item; Server item; Subitems. connections. See Code. J Journal program, 421–443 JournalView.cpp, 436 JournalView.h, 436 K Key box, 159 Key state, 446 Keyboard hooks, 421, 443–457 KeyDown messages, storage, 429–432 KeysSDI keys, 18–23 KeysSDI program, 37, 54, 58 KeysSDI project, creation, 15–23 KeysSDI.cpp, 24, 26 KeysSDIDoc.cpp, 19, 24, 38, 39 KeysSDIDoc.h, 18, 38 KeysSDI.h, 26 KeysSDIView.cpp, 22, 24, 44 KeysSDIView.h, 44 Keystrokes, acceptance. See ActiveX control. KeyUp messages, storage, 429–432 L Launch program, 443 creation, 447–457 LaunchDLL.cpp, 444, 448 LaunchDLL.dll, 448 creation, 443–444 LauncherDLL.h, 444, 448 LauncherDLL.lib, 447, 448 LauncherHook(), 444, 445 Library routines, 387 List box, 176 LPVOID, 290, 357, 376 M Main window object, 32–37 MainFrame class, 33 MainFrame.cpp, 185, 187 MainFrm.cpp, 24, 32, 33, 187 MainFrm.h, 32, 33, 177, 186 Major version numbers, getting, 573–575 MakeLower(), 508 MapViewOfFile(), 304, 307 Mask, 134. See also White mask. MaxThreadProcedure(), 372 MDI. See Multiple Document Interface. MDIDoc.cpp, 65 MDIDoc.h, 65 MDIView.cpp, 65 MDIView.h, 65 Member Function, 6, 7 Member variables, 113, 121, 533, 570 Memory. See Dynamic link libraries; Global memory; Virtual memory. allocation, 287–288, 288–289 allocation base, 291 deallocating, 289 file, 301 files views, creation, 304–305 functions, 285–286 handling, 300. See also 32-bit memory handling. Manager, 286 overview, 283–285 scanning, 289–300 Memory-mapped file reading, 306–315 Memory-mapped files, 300–315 writing, 303–304 memoryDC, 161 memset(), 425 Menu bar, 163 Menu Editor, 150, 154, 167 Menu items, 163. See also Bitmapped menu items; Checkable menu items. disabling, 156–159 modification. See Runtime. Menus, 44. See also Full power menus; Popup menus; Windows. accelerators, usage, 159–160 handling, 149, 158 separators, usage, 157–159 shortcuts, 150–153 usage. See Submenus. working. See Multiple Document Interface; Multiple menus. MenusMDI program, 94 MenusMDI.cpp, 95 MenusMDIDoc.cpp, 97 MenusMDIDoc.h, 97 MenusMDIView.cpp, 97 MenusView.cpp, 168 MenusView.h, 168 Message box, 305, 406 Message-handling function, 91 Message reflection, 135 MessageBox(), 393 Metafiles, 267–281 association. See Device contexts. creation. See Disk. device context, 275 graphics, 245 Methods, parameters addition, 531 MFC. See Microsoft Foundation Classes. Microsoft Foundation Classes (MFC), 1, 37, 38, 105, 110, 162, 164, 204, 206, 267, 332, 387–389, 392, 393, 406, 443–445, 461 Minor version numbers, getting, 573–575 MinThread procedure, writing, 376–377 MinThreadProcedure(), 372 Modified flag, 51, 201, 213 setting. See Documents. Mouse, 201, 273 capture, 245–247 cursor. See Default mouse cursor. handling, 467–469 support, addition, 212–215 Multiline text, 51, 58, 59 Multiple Document Interface (MDI), 3, 51, 177, 245, 268, 289, 318, 330, 394, 406, 409, 447, 487, 552, 556, 567 calculator, programming, 113–115 keys, reading, 57–59 menus, working, 90–92 text display, 59–60 window programs. See Multiple MDI window programs. Multiple Document Interface (MDI) programs, 129, 200, 353 creation, 51–54 data handling, 57–60 OnUpdate() usage, 63–64 process, 54–56 Multiple Document Interface (MDI) views. See Scrolling. coordination, 60–74 Multiple documents, 51 Multiple MDI window programs, 56 Multiple menus, working, 90–104 Multiple threads, coordination, 369–386 Multiple views, 51, 53 types, support, 94–104 MultiplyByTwo(), 388, 391, 393–395 Multitasking programming, 351 Multithreaded programs, 351 N Navigate(), 342 nChar parameter, 21 New DLL, linking, 395–406 New document template, 106–109 New thread starting, 355–356 thread procedure, writing, 356–358 New toolbar class, creation, 177–178 New views, menu systems, 95 New Window item, 52, 60 New windows message, creation, 360–361 Non-NULL pointer, 287, 288 Notepad, 422, 424–426, 435 NotifyChanged(), 492 NULL, 250, 303, 374, 467 device context, 465, 489 pointers, 284 number_lines, 57, 58, 289 O Object. See Application object; Data object; Document object; Main window object; View object; Window object. Object Linking and Embedding (OLE), 1, 459 OLE. See Object Linking and Embedding. OnBeginPrinting(), 224 OnButton1(), 113 OnChangeItemPosition(), 461 OnChar(), 21, 43, 44, 75, 200 OnChar() message handler, 57 OnChoicesCheckMe(), 151 OnCreate(), 179 OnDblClick(), 135 OnDraw(), 22, 59, 61, 76, 161, 182, 216, 226, 268, 273, 293, 302, 362, 378, 397, 466, 490, 491, 509 OnDrawFigure(), 182 OnEditCut(), 220 OnEditPaste(), 221 OnFigure(), 161 OnFileDoublethevalues(), 395 OnFiledownloadfile(), 330 OnFileDownloadtext(), 318 OnFileFindmax(), 352 OnFilemax(), 354 OnFileReadmemoryfile(), 306 OnFileScanmemory(), 289 OnFileWritememoryfile(), 303 OnGetExtent(), 489 OnGetItemPosition(), 461 OnInitialUpdate(), 78, 129, 165 OnInsertObject(), 463 OnKeyDown(), 507, 508 OnKillFocus(), 214 OnLButtonDown(), 212, 246, 273, 467, 469 OnLButtonUp(), 247 OnMaxFound(), 352, 353, 360, 378 OnMinFound(), 370, 377, 378 OnMouseMove(), 248, 249 OnPrepareDC(), 224–226 OnRButtonDown(), 166, 167, 247, 253, 254 OnSaveDocument(), 554 OnSetFocus(), 214 OnUpdate(), 61, 63, 76 usage. See Multiple Document Interface programs. OnUpdateChoicesCheckMe(), 151, 153 OnUpdateCopy(), 220 OnUpdateOVR(), 186, 187 OnWindowRestoreviews(), 91 OpenDocumentFile(), 556 OpenFileMapping(), 306 OpenURL(), 319, 320, 328, 330 Operating system, 566 type, getting. See Target operating system type. Output string, 293 OVR string, 187 P Paging file, 285, 288 Panes, 3 Parent, 93 Pascal calling protocol, 392 pDoc pointer, 21 Playback hook, setting, 424 PlayMetaFile(), 268 writing, 270–272 PlayProcedure(), 427, 432, 433 pMemory, 218 Point set, 253 Pointers, 256. See also CHttpFile; Non-NULL pointer; NULL. Pointers/numbers, working, 290 Populating, 129 Popup menus, 153, 163–176 display, 166–167 items, connection. See Code. pragma data_seg(), 408 pRefershDC, 270 pResult, 136 Private data comparison. See Public data. members, 203 Programming. See Multitasking programming; Real-world programming; Windows. Programs. See Journal program; Multiple Document Interface programs; Multiple MDI window programs; Multithreaded programs; Windows. notification. See Threads. running determination, 302 splitter windows, addition, 143–146 Projects, 4 PtInRect(), 468 Public data, private data comparison, 38 R Real-world programming, 37, 199 Rebars, usage, 183–184 Record hook, setting, 423–424 RecordedEvents, 423 RecordProcedure(), 423, 428, 432 function, 427 Rectangle function, 162 Redraw.h, 272 RegisterShellFileTypes(), 208 Registry. See Windows. data reading, 555–566 data storage, 554 key, 553 usage, 551–566 Registry Editor, 554 Remember application, 551–566 RememberDoc.cpp, 556 RememberDoc.h, 556 ReplacementMetaFile, 271 ResetEvent(), 369, 374 Resource Editor, 567 ResourceView, 167, 181, 208. See also Visual C++. Rich text format (RTF), 105 documents, working, 109–110 Rich text views, 105–110 RichEditView, 105 RichEditView.cpp, 106 Root item, 132 Root node, 136 RTF. See Rich text format. Runtime, menu item modification, 162–163 S ScannerView.cpp, 294 ScannerView.h, 294 Screen bits, capturing, 254–255 captures, 245–267 drawing, 247–249 Screen coordinates, 167 ScreenDC, 256, 258 Scrollbar thumbs, 77 Scrollbars, 142 Scrolling, 51 implementation, 77–78 MDI views, 74–90 ScrollMDI, 75 ScrollMDIDoc.cpp, 80 ScrollMDIDoc.h, 77, 80 ScrollMDIView.cpp, 80 ScrollMDIView.h, 75, 80 SData, 353, 354, 357, 358 structure, 372, 374 SDI. See Single Document Interface. SDK. See Software Development Kit. Section, 552 Semi-independent objects, 2 Separators, usage. See Menus. Serialization, 39, 204–212, 333, 488. See also Data; Data object. support, 206 Serialize(), 39, 109, 204, 205, 207 Server creation, 487–503 document, 488–489, 492 events handling, 492 program, 487, 492 view, 491 Server item, 489–491 class, 491 editing, 491–503 SetBkColor(), 216 SetCaretPos(), 209 SetCharFormat(), 108 SetCheck(), 153 SetClipboardData(), 219, 258 SetEvent(), 369, 375 SetImageList(), 134 SetLength(), 529, 530 SetMaxPage(), 224 SetMinPage(), 224 SetModifiedFlag(), 64, 492 SetParaFormat(), 108 SetScrollSizes(), 78, 79 SetSize(), 463, 464 SetText(), 38, 201 SetTextColor(), 202, 216 SetViewOrg(), 226 SetWindowsEx(), 423 SetWindowsHookEx(), 427, 444 Shared memory. See Dynamic link libraries. initialization, 408 SharedMemory, 408 ShareMem, 302 ShareMemView.cpp, 308 ShareMemView.h, 308 Shortcut keys, 159 Single Document Interface (SDI), 3, 15, 44, 54, 55, 150 Single-window program, 16 Software Development Kit (SDK), 2 Source Files, 19 Spacing controls. See Form views. Splitter View, 142 Splitter windows, 105, 142–146 addition. See Programs. class, creation, 142 SplitterView.cpp, 143, 144 SplitterView.h, 144 SrvrItem.cpp, 494 SrvrItem.h, 494 Status bars, 32, 149 indicators, activation, 185–186 prompts, addition, 184–185 text, setting, 184 usage, 184–198 String Editor, 96, 165, 184 usage, 96 String Table, 95, 96 Editor, 179 Subclass, 526 Subclassing controls, 526–550 Subitems, 132 Submenus, usage, 153–156 Swap file, 300 System-wide event, 430 T Target operating system type, getting, 575–595 Templates. See Document. TerminateThread(), 362 Text copying, 217–220 cutting, 220–221 documents, handling, 109 input, 213 lines, 60 object, 38, 44, 307 pasting, 221–223 selection, 216–217 string, 21, 22, 201, 211, 219, 292, 489, 490 text[] array, 59 Text boxes, 6, 8, 112, 113, 176, 321, 397, 526, 535 control, 15 Text-drawing color, 202 Text-oriented program, 215 TEXTMETRIC structure, 59, 63, 77, 209 TextOut(), 22, 210 32-bit memory handling, 283 ThreadProcedure(), 352, 356, 357 Threads, 351–353 completion, program notification, 359–360 data return, 358 error, handling, 357 priority, 355 procedure, writing, 375–376. See MinThread procedure. program, creation, 353–355. See also Double Threads program. results, reporting, 361–369 starting, 373–374. See New thread. Threads coordination. See Multiple threads. events, usage, 369–371 ThreadsView.cpp, 363 ThreadsView.h, 356, 363 Title bar, 44 Toolbar Editor, 177, 181, 182 Toolbars, 32, 44, 149, 176 class, creation. See New toolbar class. combo box insertion, 179–181 combo box interaction, 178–179 tools, addition, 181–183 usage. See Dockable toolbars. Toolbox, 111, 341 Tools, addition. See Toolbars. Tooltips, addition, 184–185 TrackPopupMenu(), 167 Tree controls, image usage, 134 Tree views, 105, 129–142 bitmaps, addition, 133–135 TreeViewView.cpp, 137 TreeViewView.h, 135, 137 TSR programs, 421 U UnhookWindowsHookEx(), 431 Uniform Resource Locator (URL), 116, 122, 341, 342 dialog box, design, 120–121 opening, 319–329 Unsigned integer, 357 Update function, 186 UpdateAllViews(), 60–62 UpdateData(), 123, 341 function, 113, 114 usage. See Dialog boxes. UpdateData() Call, 577 URL. See Uniform Resource Locator. URLDlg, 121 User address, 287 User interactions, 43 V VerQueryValue(), 572, 574 Version numbering, 207 numbers, getting. See Major version numbers; Minor version numbers. tracking, 551 Version information getting, 571–572 reading, 567 Version resource usage, 566–595 values, getting, 572–573 VersionData buffer, 572 View class, 20, 120, 212, 246, 487 View hints, 51 usage, 61–63 View object, 43–49 View types support. See Multiple views. working, 90–104 Views. See Edit views; Form views; Hypertext Markup Language views; Multiple Document Interface views; Rich text views; Scrolling MDI views; Tree views. access. See Documents. bitmap display, 258–267 caret, addition, 208–211 default cursor, change, 213–214 menu systems. See New views. types, 51 Virtual device drivers, 284 Virtual memory, 283, 286–289 VirtualAlloc(), 287, 288 VirtualFree(), 289 VirtualQuery(), 285, 289–291 Visual C++, 1, 54, 105, 112, 122, 124, 136, 150, 153, 168, 176, 177, 179, 183, 223, 285, 318, 322, 329, 330, 341, 342, 360, 363, 394, 408, 487, 505, 506, 510, 511, 595 bug fix, 487 control classes, 178 design tool, 149 framework, 129 home page, 320 programming, 199, 566 reasons, 2–3 resource files, 551 ResourceView, 91, 95 Visual C++ programs, 317, 351, 509, 551 dissection, 23–25 W WaitForSingleObject(), 370, 376 Web browser control, installation, 341–349 creation, 341–349 Web-browsing MDI program, 120 Web page, 123, 124, 317, 318, 321 White mask, 134 Win32 application, 576 Win16 programs, 284 WINAPI calling mechanism, 392 Window object, 23 Windows, 2–3, 283, 285, 287. See also Child window; Frame window; Splitter windows. editor file registration, 208 hooks, 421 interaction, 424 menus, 90 NT, 283 operating system, location, 283 program, launching, 424–427 programming, 1 registry, 551, 595 Windows Explorer, 105, 129, 567 Windows message, 166, 359, 360, 371 creation. See New windows message. handling, 377–386 Windows 95, 283, 284 Windows 98, 283, 284 WM_CHAR, 21, 429, 445, 507 Write(), 329 WriteProfileInt(), 552 WriteProfileString(), 552, 554 Writer ActiveX control, 505–526 Writer2 ActiveX control, 526–550 WriterApp, creation, 511–526 Writer2App, 527 creation, 533–550 WriterAppView.cpp, 512 Writer2AppView.cpp, 536 WriterAppView.h, 512 Writer2AppView.h, 536 WriterCtl.cpp, 506, 512 Writer2Ctl.cpp, 536 WriterCtl.h, 506, 512 Writer2Ctl.h, 536 Writer.ocx, 510 wsprintf(), 114
Previous | Table of Contents | Next

| Products | Contact Us | About Us | Privacy | Ad Info | Home Use of this site is subject to certain Terms & Conditions, Copyright © 1996-2000 EarthWeb Inc. All rights reserved. Reproduction whole or in part in any form or medium without express written permission of EarthWeb is prohibited. Read EarthWeb's privacy statement.