Programming with Microsoft Visual C++.NET 6ed [Electronic resources]

George Shepherd, David Kruglinski

نسخه متنی -صفحه : 319/ 314
نمايش فراداده

Index

W

WaitForSingleObject function, 270, 271

Web applications, creating sample wizard for generating, 53–60

Web browsers

ActiveX controls and, 233–37

creating, 233–37

Web clients

creating with MFC WinInit classes, 844–45

role of CHttpBlockingSocket class, 837

Web Forms, 962–67

Web proxy access, WinInit and, 839

Web servers, 834–37

Web services

creating client-side proxies, 979–80

managed C++, 976–78

overview, 976

Web Services Description Language. See WSDL

Web sites

development evolution, 954–56

57, 971–72

Win32

COM and, 532, 533

continuing need for, 6, 7

debug target, 45–46

and DLLs, 495–500

release target, 45–46

WinBase class, 730

window procedures, 73

windowing, ATL, 732–34

Windows. See Microsoft Windows

windows. See also splitter windows

creating, 73

default rectangle, 342

maximizing, 341

Windows common dialog boxes

adding a button to standard file dialog box, 161–66

adding other controls, 166–67

overview, 159

Windows Explorer

associating documents with programs, 415–16

double-clicking on documents, 415, 416, 425

enabling drag and drop, 415, 416, 425

launching programs, 415, 416–17, 425

MDI applications and, 425

SDI applications and, 415–17

Windows Forms

creating applications with wizard, 929–32

drawing operations, 934–51

intercepting commands, 946

intercepting move messages, 946–47

limitations, 951

overview, 927–29

role in .NET, 928

structure, 928–29

Windows Graphics Device Interface (GDI). See Graphics Device Interface

Windows menus. See menus

Windows message processing

handling in Windows Forms, 946–47

overview, 3–4, 257

single-threaded programs, 258–64

Windows programming model

dynamic-link libraries, 6

Graphics Device Interface (GDI), 4–5

memory management, 5

message processing, 3–4, 257

overview, 3–6

resource-based programming, 5

Win32 API, 6, 532

Windows Registry

associating documents with programs, 415–16

COM and, 552–53

control bar status and, 341

overview, 336, 338–39

registering type libraries, 636–37

Windows Task Manager, 242

Windows-based printing, 437–39

WinHelp

calling from within applications, 480–82

context-sensitive help and, 480–84

vs. HTML Help, 471–73

improved table of contents, 479

in MFC applications, 473–79

overview, 471–72

WinHelp function, 480–81

WinInit

vs. asynchronous moniker files, 848

callbacks and, 839, 841–43

creating with MFC WinInit classes, 844–45

MFC classes, 839–41

overview, 838

simplified client program, 843–44

vs. Winsock, 838–39

WinMain function, 3–4, 25, 42

Winsock

blocking socket classes, 821–30

HTTP client program example, 832–34

HTTP server program example, 830–32

initializing, 830

MFC classes, 820–21

overview, 820

synchronous vs. asynchronous programming, 820

vs. WinInit, 838–39

wizards. See also MFC Application Wizard

Add Class From ActiveX Control Wizard, 215

Add Class From Typelib Wizard, 619, 622

Add Class Wizard, 514, 593, 597–98, 617

Add Member Function Wizard, 451–52

Add Member Variable Wizard, 146–47, 220, 221–22, 226, 364, 451–52, 521–22, 523

Add Method Wizard, 593–94, 617

Add Property Wizard, 593–94, 617

ATL Control Wizard, 725–29

ATL OLE DB Consumer Wizard, 783

ATL OLE DB Provider Wizard, 778–79, 789–94

ATL Project Wizard, 694–96, 703, 725, 860

ATL Property Page Wizard, 748, 749, 750

ATL Server Project Wizard, 882

ATL Simple Object Wizard, 697–98, 701–2

code, 71–73

creating, 51–53

for creating Managed C++ applications, 914

Custom Wizard template, 53–60

how they work, 50–51

Implement Connection Point Wizard, 763

Managed C Windows Forms Wizard, 929–32

ManagedCWebFormWizard sample, 53–59

MFC Class Wizard, 136, 145–46, 162–63, 170, 562

role in Visual Studio .NET, 49, 59

source code for Visual C++ .NET wizards, 50

support for COM in-process components, 560–62

two types, 49–50

with and without user interfaces, 49–50

WM_CHAR message, 4, 82

WM_CLOSE message, 4, 86

WM_COMMAND message, 180, 212, 512–13

WM_CONTEXTMENU message, 307

WM_COPYDATA message, 253

WM_CREATE message, 4, 86, 232, 235

WM_CTLCOLOR message, 157, 158, 359

WM_DESTROY message, 87

WM_DROPfiles message, 416

WM_HELP message, 225

WM_HSCROLL message, 155, 156, 179, 183

WM_KEYDOWN message, 82, 83–84

WM_KEYUP message, 82

WM_LBUTTONUP message, 108

WM_MOUSEMOVE message, 108, 327

WM_NCDESTROY message, 87

WM_NOTIFY message, 180–81, 293

WM_PAINT message, 64, 738

WM_PALETTECHANGED message, 115, 127

WM_QUERYENDSESSION message, 86

WM_QUERYNEWPALETTE message, 115, 127

WM_SIZE message, 235, 290

WM_TIMER message, 259, 260, 735, 741–42

WM_VSCROLL message, 155, 179, 183

WndProc function, 511, 512, 933

WORD type, 394

worker threads

defined, 264

relationship to main thread, 266–67

writing functions, 264–65

wrapper classes

for ActiveX controls, 217–20

vs. class data members, 221–22

utilities for, 908

Write function, 124, 826, 960

WriteFile function, 392

WriteProfileInt function, 338

WriteProfileString function, 338

WSDL (Web Services Description Language), 978–79

WYSIWYG printing, 442–49