第一章 Windows编程基本概念 1
1.1 Windows程序设计语言 1
1.1.1 Windows环境快速浏览 1
1.1.2 使用Windows的优越性 2
1.1.3 新的Windows可执行文件的格式 6
1.2 Windows编程:概念和词汇 7
1.2.1 Windows的窗口 7
1.2.2 Windows布局 7
1.2.3 C/C++中的Windows类 9
1.2.4 OOP及Windows 9
1.2.5 发送和接收Windows消息 12
1.2.6 访问Windows函数 14
1.2.7 Windows头文件Windows.h 15
1.2.8 Windows应用程序的组成成分 15
1.3 Microsoft C/C ++Windows工具 16
1.3.1 使用make文件 16
1.3.2 创建资源 17
1.3.3 使用Image和Dialog编辑器 17
1.3.4 在命令行使用资源编译器(RC) 27
第二章 用Visual C++和Microsoft C/C++编写Windows应用程序 31
2.1 应用程序框架 31
2.1.1 有效地使用句柄 31
2.1.2 考察Windows应用程序中的成分 32
2.2 一个简单的应用程序和示例 41
2.2.1 画椭圆 44
2.2.2 画弦 45
2.2.3 画饼图瓣 46
2.2.4 画矩形 48
2.3 使用SWA开发一个正弦波应用程序 48
2.4 创建Windows饼图应用程序 52
2.4.1 2PIE和2PIE.DEF文件 52
2.4.2 2pie.h头文件 53
2.4.3 2PIE.RC资源文件 61
2.4.4 2PIE.C程序 61
第三章 Borland C++4.0 Windows编程 67
3.1 Borland C++4.0新功能 67
3.1.1 先进的工程管理器 67
3.1.2 编译 68
3.1.3 运行AppExpert构造应用程序 69
3.1.4 WinSight 69
3.1.5 运行WinSpector 69
3.1.6 运行连接程序:TLINK 69
3.1.7 库管理程序 70
3.2 动态数据交换 70
3.2.1 DDE概念简介 71
3.2.2 DDE的组成元素 73
3.2.3 DDE的通讯类型 75
3.2.4 DDE消息汇总 79
3.2.5 创建会话 79
3.2.6 如何向服务器程序请求数据 82
3.2.7 传送项目数据给服务器程序 88
3.2.8 传送命令消息给服务器程序 91
3.2.9 客户程序 93
3.2.10 服务器程序 106
3.3 客户OLE程序 117
第四章 Windows函数 137
函数名 137
AbortDoc 137
AccessResource 137
AddAtom 138
AddFontResource 138
AdjustWindowRect 138
AdjustWindowRectEx 139
AllocDiskSpace 140
AlloeDStoCSAlias 140
AllocFileHandles 141
AllocGDIMem 141
AllocMem 141
AllocResource 141
AllocSelector 142
AllocUserMem 142
AnimatePalette 142
AnsiLower 143
AnsiLowerBuff 143
AnsiNext 144
AnsiPrev 144
AnsiToOem 144
AnsiToOemBuff 145
AnsiUpper 145
AnsiUpperBuff 145
AnyPopup 145
AppendMenu 146
Arc 147
ArrangeIconicWidnows 147
BeginDeferWindowPos 148
BeginPaint 148
BitBlt 149
BringWindowToTop 150
BuildCommDCB 150
CallMsgFilter 152
CallNextHookEx 153
CallWindowProc 153
Catch 154
ChangeClipboardChain 154
ChangeMenu 154
ChangeSelector 154
CheckDlgButton 155
CheckMenuItem 155
CheckRadioButton 156
ChildWindowFromPoint 156
ChooseColor 157
ChooseFont 158
Chord 160
ClassFirst 161
ClassNext 161
ClearCommBreak 162
ClientToScreen 162
ClipCursor 163
CloseClipboard 163
CloseComm 163
CloseDriver 164
CloseMetaFile 164
CloseWindow 164
CombineRgn 165
CommDlgExtendedError 165
CopyCursor 167
CopyIcon 167
CopyMetaFile 167
CopyRect 168
CountClipboardFormats 168
CreateBitmap 168
CreateBitmapIndirect 169
CreateBrushIndirect 170
CreateCaret 171
CreateCompatibleBitmap 171
CreateCompatibleDC 171
CreateCursor 172
CreateDC 172
CreateDialog 175
CreateDialogIndirect 176
CreateDialaogIndirectParam 178
CreateDialogParam 180
CreateDIBitmap 181
CreateDIBPatternBrush 182
CreateDiscardableBitmap 183
CreateEllipticRgn 183
CreateEllipticRgnIndirect 183
CreateFont 184
CreateFontIndirect 186
CreateHatchBrush 188
CreateIC 188
CreateIcon 189
CreateMenu 189
CreateMetaFile 189
CreatePalette 190
CreatePatternBrush 191
CreatePen 191
CreatePenIndirect 191
CreatePolygonRgn 192
CreatePolyPloygonRgn 193
CreatePopupMenu 193
CreateRectRgn 194
CreateRectRgnIndirect 194
CreateRoundRectRgn 194
CreateScalableFontResource 195
CreateSolidBrush 195
CreateWindow 196
CreateWindowEx 202
DdeAbandonTransaction 203
DdeAccessData 203
DdeAddData 203
DdeClientTransaction 204
DdeCmpStringHandle 205
DdeConnect 205
DdeConnectList 206
DdeCreateDataHandle 207
DdeCreateStringHandle 207
DdeDisconnect 208
DdeDisconnectList 208
DdeEnableCallback 208
DdeFreeDataHandle 209
DdeFreeStringHandle 209
DdeGetData 209
DdeGetLastError 210
DdeInitialize 212
DdeKeepStringHandle 213
DdeNameService 213
DdePostAdvise 214
DdeQueryConvInfo 214
DdeQueryNextServer 216
DdeQueryString 217
DdeReconnect 217
DdeSetUserHandle 217
DdeUnaccessData 218
DdeUninitialize 218
DebugBreak 218
DefDlgProc 218
DefDriverPro 219
DeferWindowPos 219
DefFrameProc 220
DefHookProc 221
DefineHandleTable 221
DdeMDIChildProc 221
DefWindowProc 222
DeleteAtom 222
DeleteDC 222
DeleteMenu 222
DeleteMetaFile 223
DeleteObject 223
DestroyCaret 223
DestroyCursor 224
DestroyIcon 224
DestroyMenu 224
DestroyWindow 224
DeviceCapabilities 225
DeviceMode 226
DialogBox 227
DialogBoxIndirect 227
DialogBoxIndirectParam 229
DialogBoxParam 230
DirectedYield 230
DispatchMessage 231
DlgDirList 231
DlgDirListComboBox 232
DlgDirSelect 233
DlgDirSelectComboBox 233
DOS3CALL 233
DPtoLP 234
DragAcceptFiles 234
DragFinish 234
DragQueryFile 235
DragQueryPoint 235
DrawFocusRect 236
DrawIcon 236
DrawMenuBar 237
DrawText 237
Ellipse 238
EmptyClipboard 238
EnableCommNotification 239
EnableHardwareInput 239
EnableMenuItem 239
EnableScrollBar 240
EnableWindow 241
EndDeferWindowPos 241
EndDialog 241
EndDoc 242
EndPage 242
EndPaint 242
EnumChildWindows 243
EnumClipboardFormats 244
EnumFontFamilies 244
EnumFonts 244
EnumMetaFile 245
EnumObjects 246
EnumProps 246
EnumTaskWindows 247
EnumWindows 247
EqualRect 248
EqualRgn 248
Escape 249
EscapeCommFunction 249
ExcludeClipRect 250
ExcludeUpdateRgn 250
ExitWindows 251
ExtDewiceMode 251
ExtFloodFill 252
ExtractIcon 252
ExtTextOut 253
FatalAppExit 253
FatalExit 254
FillRect 254
FillRgn 255
FindAtom 255
FindExecutable 255
FindResource 255
FindText 256
FindWindow 258
FlashWindow 258
FloodFill 258
FlushComm 258
FrameRect 259
FrameRgn 259
FreeAllGDIMem 260
FreeAllMem 260
FreeAllUserMem 260
FreeLibray 260
FreeModule 261
FreeProcInstance 261
FreeResource 261
FreeSelector 261
GetActiveWindow 262
GetAspectRatioFilter 262
GetAspectRatioFilterEx 262
GetAsyncKeyState 262
GetAtomHandle 263
GetAtomName 263
GetBitmapBits 263
GetBitmapDimension 264
GetBitmapDimensionEx 264
GetBkColor 264
GetBkMode 264
GetBoundsRect 265
GetBrushOrg 265
GetBValue 266
GetCapture 266
GetCaretBlinkTime 266
GetCaretPos 266
GetCharABCWidths 267
GetCharWidth 267
GetClassInfo 268
GetClassLong 268
GetClassName 268
GetClassWord 269
GetClientRect 269
GetClipbordData 270
GetClipboardFormatName 270
GetClipboardOwner 270
GetClipboardViewer 271
GetClipBox 271
GetClipCursor 3.1 272
GetCodeHandle 272
GetCodeInfo 272
GetCommError 273
GetCommEventMask 274
GetCommState 275
GetCurrentPDB 277
GetCurrentPosition 277
GetCurrentPositionEx 3.1 277
GetCurrentTask 278
GetCurrentTime 278
GetCursor 278
GetCursorPos 278
GetDC 279
GetDCEx 279
GetDCOrg 280
GetDesktopWindow 280
GetDeviceCaps 280
GetDialogBaseUnits 283
GetDIBits 283
GetDlgCtrlID 285
GetDlgItem 285
GetDlgItemInt 285
GetDlgIemText 286
GetDosEnvironment 286
GetDoubleClickTime 286
GetDriverInfo 3.1 287
GetDrvierModuleHandle 3.1 287
GetDriveType 287
GetEnvironment 288
GetExpandedName 3.1 288
GetFileResouerce 3.1 288
GetFileResoueeSize 3.1 289
GetFileTitle 289
GetFileVersionInfo 290
GetFileVersionInfoSize 3.1 290
GetFocus 291
GetFontData 3.1 291
GetFreeSpace 292
GetFreeSystemResources 3.1 292
GetGlyphOutline 3.1 292
GetGValue 293
GetInputState 294
GetInstanceData 294
GetKBCodePage 294
GetKeyboardState 295
GetKeyboardType 295
GetKeyNameText 296
GetKeyState 296
GetLastActivePopup 296
GetMapMode 297
GetMenu 297
GetMenuCheckMarkDimensions 297
GetMenuItmeCount 298
GetMenuItmeID 298
GerMenuState 298
GetMenuString 299
GetMessage 299
GetMessageExtraInfo 300
GetMessagePos 301
GetMessageTime 301
GetMetaFile 301
GetMetaFileBits 301
GetModuleFileName 302
GetModulehandle 302
GetModuleUsage 302
GetNearestColor 303
GetNearestPaletteIndex 303
GetNextDlgGroupItem 303
GetNextDlgTabItem 304
GetNextDriver 3.1 304
GetNextWindow 305
GetNumTasks 305
GetObject 305
GetOpenClipboardWindow 3.1 306
GetOpenFileName 306
GetoutlineTextMetrics 3.1 308
GetPaletteEntries 310
GetParent 311
GetPixel 311
GetPolyFillMode 312
GetPriorityClipnboardFormat 312
GetPrivateProfileInt 312
GetPrivateProfileString 313
GetProcAddress 313
GetProfileInt 314
GetProfileString 314
GetProp 315
GetQueueStatus 315
GetRasterizerCaps 3.1 316
GetRgnBox 316
GetRop2 317
GetRValue 318
GetSaveFileName 3.1 318
GetScrollPos 320
GetScrollRange 321
GetSelectorBase 3.1 321
GetSelectorLimit 3.1 321
GetStockObject 322
GetStretchBltMode 322
GetSubMenu 323
GetSysColor 323
GetSysModealWindow 324
GetSystemDebugState 3.1 324
GetSytemDir 3.1 325
GetSystemDirectory 325
GetSystemMenu 325
GetSystemMetrics 326
GetSystemPaletteEntries 327
GetSystemPaletteUse 328
GetTabbedTextExtent 328
GetTempDrive 329
GetTempFileName 329
GetTextAlign 330
GetTextCharacterExtra 330
GetTextColor 331
GetTextExtent 331
GetTextExtentEx 331
GetTextExtentPoint 3.1 332
GetTextFace 332
GetTextMetrics 333
GetTickCount 335
GetTopWindow 335
GetUpdateRect 335
GetUpdateRgn 336
GetVersion 337
GetViewportExt 337
GetViewportExtEx 337
GetViewportOrg 337
GetViewportOrgEx 3.1 338
GetWindow 338
GetWindowDC 339
GetWindowExt 339
GetWindowLong 339
GetWindowOrg 340
GetWindowOrgEx 340
GetWindowPalcement 3.1 340
GetWindowRect 340
GetWindowsDir 3.1 341
GetWindowsDirectory 341
GetWindowTask 342
GetWindowText 342
GetWindowTextLength 342
GetWindowWord 343
GetWinFlags 343
GlobalAddAtom 344
GlobalAlloc 344
GlobalCompact 345
GlobalDeleteAtom 345
GlobalDiscard 345
GlobalDosAlloc 346
GlobalDosFree 346
GlobalEntryHandle 346
GlobalEntryModule 348
GlobalFindAtom 350
GlobalFirst 3.1 351
GlobalFix 353
GlobalFlags 353
GlobalFree 353
GlobalGetAtomName 354
GlobalHandle 354
GlobalHandleTsSel 3.1 354
GlobalInfo 3.1 354
GlobalLock 355
GlobalLRUNewest 355
GlobalLRUOLdest 356
GlobalNext 3.1 356
GlobalNotify 358
GlobalPageLock 358
GlobalPageUnlock 359
GlobalReAlloc 359
GlobalSize 360
GlobalUnfix 360
GlobalUnlock 360
GrayString 360
HIBYTE 361
HideCaret 362
HiliteMenuItem 362
HIWORD 363
InflateRect 363
InitAtomTable 363
InSendMessage 364
InsrtMenu 364
InterruptRegister 3.1 365
InterrupUnRegister 3.1 366
IntersectClipRect 366
IntersectRect 367
InvalidateRect 367
InvalidateRgn 368
InvertRect 369
InvretRgn 369
IsCharAlpha 369
IsCharAlphaNumeric 370
IsCharLower 370
IsCharUpper 370
IsChild 371
IsClipbaordForamtAvailable 371
IsDBCSLeadByte 3.1 371
IsDialogmessage 371
IsDlgButtonChecked 372
IsIconic 373
IsMenu 3.1 373
IsRectEmpty 373
IsTask 3.1 374
IsWindow 374
IsWindowEnabled 374
IsWindowVisible 375
IsZoomed 375
Killtimer 375
_lclose 375
_lcreat 376
LineDDA 376
LineTo 377
_llseek 377
LoadAccelerators 378
LoadBitmap 378
LoadCursor 378
LoadIcon 379
LoadLibrary 380
LoadMenu 380
LoadMenuIndirect 381
LoadModule 382
LoadResource 383
LoadString 383
LOBYTE 384
LoaclAlloc 384
LocalCompact 385
LocalDiscard 385
LocalFirst 385
LocalFlags 387
LocalFree 387
Localhandel 388
LocalInfo 3.1 388
LocalInit 389
LocalLock 389
LocalNext 3.1 389
LocalReAlloc 391
LocalShrink 392
LocalSize 392
LocalUnlock 392
LocalData 393
LockInput 3.1 393
LockResource 393
LockSegment 394
_lopen 394
LOWORD 395
LockWindowUpdate 3.1 395
LPtoDP 395
_lread 396
lstrcat 396
lstrcmp 397
lstrcmpi 397
lstrcpy 397
lstrlen 398
_lwrite 398
LZClose 3.1 398
LZCopy 3.1 399
LZDone 3.1 399
LZInit 3.1 399
LZOpenFile 3.1 400
LZRead 3.1 401
LZSeek 402
LZStart 3.1 402
MAKEINTATOM 402
MAKEINTRESOURCE 403
MAKELONG 403
MAKEPOINT 403
MakeProcInstance 404
MapDialogRect 404
MapVirtualKey 405
MapWindowPoints 3.1 405
Max 405
MemManInfo 406
MemoryRead 3.1 407
MemoryWrite 3.1 407
MessageBeep 407
MessageBox 408
min 409
ModifyMenu 409
ModuleFindHandle 410
ModuleFindName 411
ModuleFirst 412
ModuleNext 412
MoveTo 413
MoveWindow 414
MuIDiv 414
NetBIOSCall 414
NotifyRegister 415
NotifyUnRegister 416
OemKeyScan 416
OemToAnsi 416
OemToAnsiBuff 417
OffsetClipRgn 417
OffsetRect 417
OffsetRgn 418
OffsetViewportOrg 418
OffsetViewportOrgEx 419
OffsetWindowOrg 419
OffsetWindowOrgEx 420
OleActivate 420
OleBlockServer 421
OleClone 421
OleClose 422
OleCopyFromLink 422
OleCopyToClipboard 423
OleCreate 423
OleCreateFromClip 424
OleCreateFromFile 424
OleCreateFromTemplate 425
OleCreateInvisible 426
OleCreateLinkFromClip 426
OleCreateLinkFromFile 427
OleDelete 428
OleDraw 428
OleEnumFormats 429
OleEnumObjects 429
OleEqual 430
OleExecute 430
OleGetData 430
OleGetLinkUpdateOptions 431
OleIsDCMeta 431
OleLoadFromStream 432
OleLockServer 432
OleObjectConvert 432
OleQueryBounds 433
OleQueryClienVersion 434
OleQueryCreateFromClip 434
OleQueryLinkFromClip 434
OleQueryName 435
OleQueryOpen 435
OleQueryOutOfDate 435
OleQueryProtocol 435
OleQueryReleaseError 436
OkQueryReleaseMethod 436
OleQueryReleaseStatus 437
OleQueryServerVersion 437
OleQueryType 438
OleReconnect 438
OleRegisterClientDoc 438
OleRegisterServer 439
OleRegisterServerDoc 439
OleRelease 439
OleRename 440
OleRenameClientDoc 440
OleRenameServerDoc 440
OleRequestData 441
OleRevertClientDoc 441
OleRevertServerDoc 441
OleRevokeObject 441
OleRevokeServer 442
OleRevokeServerDoc 442
OleSavedServerDoc 442
OleSaveToStream 443
OleSetbounds 443
OleSetColorScheme 443
OleSetData 444
OleSetHostNames 444
OleSetLinkUpdateOptions 445
OleSetTargetDevice 445
OleUnblockServer 445
OleUnlockServer 446
OleUpdate 446
OpenClipboard 446
OpenComm,EmptyClipboard 447
OpenDriver 447
OpeilFile 447
OpenIcon 449
OutPutDebugString 449
PaintRgn 449
PALETTEINDEX 449
PALETTERGB 450
PatBlt 450
PeekMessage 451
Pie 452
PlayMetaFile 452
PlayMetaFileRecord 452
Polygon 453
Polyline 453
PolyPolygon 454
PostAppMessage 454
PostMessage 455
PostQuitMessage 455
PrintDlg 455
ProfClear 458
ProfFinish 458
ProfInsChk 458
ProfSampRate 458
ProfSetup 459
ProfStart 459
ProfStop 460
PtInRect 460
PtInRegion 461
PtVisible 461
QuerySendMessage 461
ReadComm 462
RealizePalette 462
Rectangle 462
RectInRegion 463
RectVisible 463
RedrawWindow 464
RegCloseKey 465
RegCreateKey 465
RegDeleteKey 465
RegEnumKey 466
RegisterClass 466
RegisterClipboardFormat 466
RegisterWindowMessage 467
RegOpenKey 467
RegQueryValue 467
RegSetValue 468
ReleaseCapture 468
ReleaseDC 468
RemoveFontResource 468
RemoveMenu 469
RemoveProp 469
ReplaceText 469
ReplyMessage 471
ResetDC 471
ResizePalette 475
RestoreDC 475
RGB 475
RoundRect 476
SaveDC 476
ScaleViewportExt 476
ScaleViewportExtEx 477
ScaleWindowExt 477
ScaleWindowExtEx 478
SereenToClient 478
ScrollDC 478
ScrollWindow 479
ScrollWindowEx 480
SelectClipRgn 481
SelectObject 482
SelectPalette 483
SendDlgItemMessage 483
SendDriverMessage 483
SendMessage 484
SetAbortProc 484
SetActiveWindow 484
SetBitmapBits 485
SetBitmapDimension 485
SetBitmapDimensionEx 485
SetBkColor 486
SetBkMode 486
SetBoundsRect 486
SetBrushOrg 487
SetCapture 488
SetCaretBlinkTime 488
SetCaretPos 488
SetClassLong 488
SetClassWord 489
SetClipboardData 489
SetClipboardViewer 490
SetCommBreak 490
SetCommEventMask 491
SetCommState 491
SetCursor 494
SetCursorPos 494
SetDIBits 494
SetDIBitsToDevice 496
SetDlgItemInt 497
SetDlgItemText 498
SetDoubleClickTime 498
SetEnvironment 498
SetErrorMode 498
SetFocus 499
SetHandleCount 499
SetKeyboardState 499
SetMapMode 500
SetMapperFlags 500
SetMenu 501
SetMenuItemBitMaps 501
SetMessageQueue 502
SetMetaFileBits 502
SetMetaFileBitsBetter 502
SetPaletteEntries 502
SetParent 503
SetPixel 504
SetPolyFillMode 504
SetProp 504
SetRect 505
SetRectEmpty 505
SetRectRgn 506
SetResourceHandler 506
SetROP2 507
SetscrollPos 507
SetScrollRange 508
SetSelectorBase 508
SetSelectorLimit 509
SetStretehBltMode 509
SetSwapAreaSize 510
SetSysColors 510
SetSysModalWindow 511
SetSystemPatetteUse 511
SetTextAlign 511
SetTextCharacterExtra 512
SetTextColor 512
SetTextJustification 512
SetTimer 513
SetViewportExt 513
SetViewportExtEx 514
SteViewportOrg 515
SetViewportOrgEx 515
SetWindowExt 515
SetWindowExtEx 516
SetWindowLong 516
SetWindowOrg 517
SetWindowOrgEx 517
SetWindowPlacement 518
SetWindowPos 518
SetWindowsHook 519
SetWindowsHookEx 520
SetWindowText 520
SetWindowWord 521
ShellExecute 521
ShowCaret 522
ShowCursor 522
ShowOwnedPopups 523
ShowScrollBar 523
ShowWindow 524
SizeofResource 524
StackTraceCSIPFirst 525
StarcTraceFirst 526
StackTraceNext 526
StartDoc 527
StartPage 528
StretchBlt 528
StretchDIBits 529
SwapMouseButton 530
SwitchStackBack 531
SwitchStackTo 531
SystemHeapInfo 531
SystemParametersInfo 532
TabbedTextOut 533
TaskFindHandle 533
TaskFirst 535
TaskGetCSIP 536
TaskNext 536
TaskSetCSIP 537
TaskSwitch 538
TerminateApp 538
TextOut 538
Throw 539
TimerCount 539
ToAscii 539
TrackPopupMenu 540
TranslateAccelerator 541
TranslateMDISysAccel 542
TranslateMessage 542
TransmitCommChar 543
UnAllocDiskSpace 3.1 543
UnAllocFileHandles 544
UngetCommChar 544
UnhookWindowsHook 544
UnhookWindowsHookEx 3.1 545
UnionRect 545
UnlockData 546
UnlockResource 546
UnloekSegment 546
UnrealizeObject 547
UnregisterClass 547
UpdateColors 547
UpdateWindow 548
ValidateCodeSegments 548
ValidateFreeSpaces 548
ValidateRect 548
ValidateRgn 549
VerFindFile 3.1 549
VerInstallFile 3.1 550
VerLanguageName 3.1 552
VerQueryValue 3.1 552
VkKeyScan 552
WaitMessage 553
WindowFromPoint 553
WinExec 554
WinHelp 555
WNetAddConnection 3.1 556
WNetCancelConnection 3.1 556
WNetGetConnection 3.1 557
WriteComm 558
WritePrivateProfileString 558
WriteProfileString 559
Wsprintf 559
Wvsprind 560
Yield 561
第五章 Windows消息 563
消息名 563
BM_GETCHECK 563
BM_GETSTATE 563
BM_SETCHECK 564
BM_SETSTATE 564
BM_SETSTYLE 564
BN_CLICKED 565
BN_DOUBLECLICKED 565
CB_ADSTRING 566
CB_DELETESTRING 566
CB_DIR 566
CB_FINDSTRING 567
CB_GETCOUNT 567
CB_GETCURSEL 567
CB_GETDROPPEDCONTROLRECT3.1 567
CB_GETDROPPEDSTATE 3.1 568
CB_GETEXTENDEDUI 3.1 568
CB_GETITEMDATA 569
CB_GETITEMHEIGHT 3.1 569
CB_GETLBTEXT 569
CB_GETLBTEXTLEN 569
CB_INSERTSTRING 570
CB_LIMITTEXT 570
CB_RESETCONTENT 570
CB_SELECTSTRING 571
CB_SETCURSEL 571
CB_SETEDITSEL 571
CB_SETEXTENDEDUI 571
CB_SETITEMDATA 572
CB_SETITEMHEIGHT 3.1 572
CB_SHOWDROPDOWN 572
CBN_CLOSEUP 3.1 573
CBN_DBLCLK 573
DBN_DROPDOWN 573
CBN_EDITCHANGE 573
CBN_EDITUPDATE 574
CBN_ERRSPACE 574
CBN_KILLFOCUS 574
CBN_SELCHANGE 574
CBN_SELENDCANCEL 3.1 575
CBN_SELENDOK 3.1 575
CBN_SETFOCUS 575
DM_GETDEFID 575
DM_SETDEFID 576
DRV_CLOSE 3.1 576
DRV_CONFIGURE 3.1 576
DRV_DISABLE 3.1 577
DRV_ENABLE 3.1 577
DRV_FREE 3.1 578
DRV_INSTALL 3.1 579
DRV_LOAD 3.1 578
DRV_OPEN 3.1 579
DRV_QUERYCNFIGURE 3.1 579
DRV_POWER 3.1 580
DRV_REMOVE 3.1 580
DRV_USER 3.1 580
EM_CANUNDO 581
EM_EMPTYUNDOBUFFER 581
EM_FMTLINES 581
EM_GETFIRSTVISIBLELINE 3.1 582
EM_GETHANDLE 582
EM_GETLINE 582
EM_GETLINECOUNT 582
EM_GETMODIFY 582
EM_GETPASSWORDCHAR 3.1 583
EM_GETRECT 583
EM_GETSEL 583
EM_GETWORDBREAKPROC 3.1 584
EM_LIMITTEXT 584
EM_LINEPROMCHAR 584
EM_LINELENGHT 585
EM_LINESCROLL 585
EM_REPLACESEL 585
EM_SETHANDLE 585
EM_SETMODIFY 586
EM_SETPASSWORDCHAR 586
EM_SETREADONLY 3.1 586
EM_SETRECT 586
EM_SETRECTNP 587
EM_SETSEL 587
EM_SETTABSTOPS 588
EM_SETWORDBREAKPROC 3.1 588
EM_UNDO 589
EM_CHANGE 589
EN_ERRSPACE 589
EN_HSCROLL 589
EN_KILLFOCUS 590
EN_MAXTEXT 590
EN_SETFOCUS 590
EN_UPDATE 590
EN_VSCROLL 591
LB_ADDSTRING 591
LB_DELETESTRING 591
LB_DIR 591
LB_FINDSTRING 52
LB_GETCARETINDEX 3.1 592
LB_GETCOUNT 3.1 593
LB_GETCURSEL 593
LB_GETHORIZONTALEXTENT 593
LB_GETITEMDATA 593
LB_GETITEMHEIGHT 3.1 593
LB_GETITEMRECT 594
LB_GETSEL 594
LB_GETSELCOUNT 594
LB_GETSELITEMS 595
LB_GETTEXT 595
LB_GETTEXTLEN 595
LB_GETTOPINDEX 595
LB_INSERTSTRING 595
LB_RESETCONTENT 596
LB_SELECTSTRING 596
LB_SELITEMRANGE 596
LB_SETCARETINDEX 3.1 596
LB_SETCOLUMNWIDTH 597
LB_SETCURSEL 597
LB_SETHORIZONTALEXTENT 597
LB_SETITEMDATA 597
LB_SETITEMHEITHT3.1 598
LB_SETSEL 598
LB_SETTABSTOPS 598
LB_SETTOPINDEX 599
LBN_DBLCLK 599
LBN_ERRSPACE 599
LBN_KILLFOCUS 599
LBN_SELCHANGE 600
LBN_SETFOCUS 600
STM_GETICON 3.1 600
STM_SETICON 600
WM_ACTIVATE 600
WM_ACTIVATEAPP 601
WM_ASKCBFORMATNAME 601
WM_CANCELMODE 601
WM_CHANGECBCHAIN 602
WM_CHAR 602
WM_CHARTOITEM 602
WM_CHILDACTIVATE 603
WM_CHOOSEFONT_GETLOGFONT 3.1 603
WM_CLEAR 603
WM_CLOSE 603
WM_COMMAND 604
WM_COMMNOTIFY 604
WM_COMPACTINT 604
WM_COMPAREITEM 605
WM_COPY 605
WM_CREATE 606
WM_CTLCOLOR 607
WM_CUT 607
WM_DDE_ACK 607
WM_DDE_ADVISE 608
WM_DDE_DATA 609
WM_DDE_EXECUTE 610
WM_DDE—INITIATE 610
WM_DDE_POKE 611
WM_DDE_REQUEST 611
WM_DDE_TERMONATE 612
WM_DDE_UNADVESE 612
WM_DEADCHAR 612
WM_DELETEITEM 613
WM_DESTROY 613
WM_DESTROYCLIPBOARD 614
WM_DEVMODECHANGE 614
WM_DRAWCLIPBOARD 614
WM_DRAEITEM 614
WM_DROPFILES 615
WM_ENABLE 615
WM_ENDSESSION 616
WM_ENTERIDLE 616
WM_ERASEBKGND 616
WM_FONTCHANGE 616
WM_GETDLGCODE 617
WM_GETFONT 617
WM_GETHOTKEY 617
WM_GETMINMAXINFO 618
WM_GETTEXT 618
WM_GETTEXTLENGTH 618
WM_HSCROLL 619
WM_HSCROLLCLIPBOARD 619
WM_ICONERASEBKGND 620
WM_INITDIALOG 620
WM_INITMENU 620
WM_INITMENUPOPUP 621
WM_KEYDOWN 621
WM_DEYUP 621
WM_KILLFOCUS 622
WM_LBUTTONDBLCLK 622
WM_LBUTTONDOWN 622
WM_LBUTTONUP 623
WM_MBUTTONDBLCLK 623
WM_MBUTTONDOWN 624
WM_MBUTTONUP 624
WM_MDIACTIVATE 624
WM_MDICASCADE 625
WM_MDICREATE 625
WM_MDIDESTROY 626
WM_MDIGETACTIVE 626
WM_MDIICONARRANGE 627
WM_MDIMAXIMIZE 627
WM_MDINEXT 627
WM_MDIRESTORE 627
WM_MDISETMENU 627
WM_MDITILE 628
WM_MEASUREITEM 628
WM_MENUCHAR 629
WM_MENUSELECT 629
WM_MOUSEACTIVATE 630
WM_MOUSEMOVE 631
WM_MOVE 631
WM_NCACTIVATE 631
WM_NCCALCSIZE 632
WM_NCCREATE 632
WM_NCDESTROY 633
WM_NCHITTEST 633
WM_NCLBUTTONDBLCLK 634
WM_NCLBUTTONDOWN 635
WM_NCLBUTTONUP 636
WM_NCMBUTTONDBCLK 637
WM_NCMBUTTONDOWN 638
WM_NCMBUTTONUP 638
WM_NCMOUSEMOVE 639
WM_NCPAINT 640
WM_NCRBUTTONDBLCLK 640
WM_NCRBUTTONDOWN 641
WM_NCRBUTTONUP 642
WM_NEXTDLGCTL 643
WM_PAINT 643
WM_PAINTCLIPBOARD 644
WM_PALETTECHANGED 644
WM_PARENTNOTIFY 645
WM_PASTE 645
WM_POWER 3.1 645
WM_QUERYDRAGICON 646
WM_QUERYENDSESSION 646
WM_QUERYNEWPALETTE 646
WM_QUERYOPEN 646
WM_QUEUESYNC 3.1 647
WM_QUIT 647
WM_RBUTTONDBLCLK 647
WM_RBUTTONDOWN 648
WM_RBUTTONUP 648
WM_RENDERALLFORMATS 648
WM_RENDERFORMAT 649
WM_SETCURSOR 649
WM_SETFOCUS 650
WM_SETFONT 650
WM_SETHOTDEY 651
wM_SETREDRAW 651
WM_SETTEXT 651
WM_SHOWWINDOW 652
WM_SIZE 652
WM_SIZECLIPBOARD 652
WM_SPOOLERSTATUS 653
WM_SYSCHAR 653
WM_SYSCOLORCHANGE 654
WM_SYSCOLORCHANGE 654
WM_SYSCOMMAND 654
WM_SYSDEADCHAR 655
WM_SYSKEYDOWN 655
WM_SYSKEYUP 656
WM_SYSTEMERROR 656
WM_TIMECHANGE 656
WM_TIMER 657
WM_UNDO 657
WM_VKEYTOITEM 657
WM_VSCROLL 657
WM_VSCROLLCLIPBOARD 658
WM_WINDOWPOSCHANGED 3.1 659
WM_WINDOWPOSCHANGING 659
WM_WININICHANGE 659
第六章 Windows打印机Esc命令码 661
名称 661
ABRTDOC 661
BANDINFO 661
BEGIN_PATH 662
CLIP_TO_PATH 663
DEVICEDATA 663
DRAFTMODE 664
DRAWPATTERNRECT 664
ENABLEDUPLEX 665
ENABLEPAIRKERNING 665
ENABLERELATIVEWIDTHS 666
ENDDOC 666
END_PATH 667
ENUMPAPERBINS 668
ENUMPAPERMETRICS 668
EPSPRINTlNG 669
EXT_DEVICE_CAPS 669
EXTTEXTOUT 670
FLUSHOUTPUT 671
GETCOLORTABLE 671
GETEXTENDEDTEXTMETRICS 671
GETEXTENTTABLE 673
GETFAGENAME 674
GETPAIRKERNTABLE 674
GETPHYSPAGESIZE 674
GETPRINTINGOFFSET 675
GETSCALINGFACTOR 675
GETSETPARERBINS 676
GETSETPAPERMETRICS 677
GETSETPAPERORIENT 677
GETSETSCREENPARAMS 678
GETTECHNOLOGY 678
GETTRACKKERNTABLE 679
GETVECTORBRUSHSIZE 679
GETVECTORPENSIZE 681
MFCOMMENT 681
NEWFRAME 682
NEXTBAND 682
PASSTHROUGH 683
QUERYESCSUPPORT 683
RESTORE_CTM 684
SAVE_CTM 684
SETABORTPROC 684
SETALLJUSTVALUES 685
SET_ARC_DIRECTION 686
SET_BACKGROUND_COLOR 686
SET_BOUNDS 686
SETCOLORTABLE 687
SETCOPYCOUNT 687
SETKERNTRACK 688
SETLINECAP 688
SETLINEJOIN 689
SET_MIRROR_MODE 689
SETMITERLIMIT 690
SET_POLY_MODE 690
SET_SCREEN_ANGLE 691
SET_SPREAD 691
STARTDOC 691
TRANSFORM_CTM 691
第七章 数据结构 693
数据结构名字 693
ABC 3.1 693
BITMAP 693
BITMAPCOREHEADER 694
BITMAPCOREINFO 695
BITMAPFILEHEADER 695
BITMAPINFO 696
BITMAPINFOHEADER 696
CBT_CREATEWND 3.1 697
CBTACTIVATESTRUCT 3.1 698
CHOOSECOLOR 3.1 698
CHOOSEFONT 3.1 699
CLASSENTRY 3.1 702
CLIENTCREATESTRUCT 702
COMPAREITEMSTRUCTO 703
COMSTAT 703
CONVCONTEXT 3.1 704
CONVINFO 3.1 705
CPLINFO 3.1 707
CREATESTRUCT 707
DCB 708
DDEACK 711
DDEADVISE 711
DDEDATA 712
DDEPOKE 713
DEBUGHOOKSTRUCT 3.1 714
DELETEITEMSTRUCT 715
DEVMODE 716
DEVNAMES 719
DLGITEM 719
DLGTEMPLATE 720
DOCINFO 722
DRAWITEMSTRUCT 722
FINDREPLACE 723
FIXED 3.1 725
FMS GETDRIVEINFO 725
FMS_GETFILESEL 726
FMS_LOAD 726
GLOBALENTRY 3.1 727
GLOBALINFO 728
GLYPHMETRICS 3.1 729
HANDLETABLE 729
HSZPAIR 3.1 730
LOCALENTRY 3.1 730
LOCALINFO 732
LOGBRUSH 733
LOGFONT 734
LOGPALETTE 736
LOGPEN 736
MAT2 3.1 737
MDICREATESTRUCT 737
MEASUREITEMSTRUCT 738
MEMMANINFO 3.1 739
MENUITEMTEMPLATE 740
MENUITEMTEMPLATEHEADER 740
METAFILEPICT 741
METAHEADER 3.1 741
METARECORD 3.1 742
MINMAXINFO 3.1 742
MODULEENTRY 3.1 743
MONCBSTRUCT 3.1 743
MONCONVSTRUCT 3.1 744
MONERRSTRUCT 3.1 745
MONHSZSTRUCT 3.1 745
MONLINKSTRUCT 3.1 746
MONMSGSTRUCT 3.1 747
MOUSEHOOKSTRUCT 3.1 748
MSG 748
MULTIKEYHELP 749
NCCALCSIZE_PARAMS 3.1 749
NEWCPLINFO 3.1 750
NEWTEXTMETRIC 3.1 750
NFYLOADSEG 3.1 753
NFYLOGERROR 3.1 753
NFYLOGPARAMERROR3.1 754
NFYRIP 3.1 754
NFYSTARIDLL 3.1 755
OFSTRUCT 755
OLECLIENT 3.1 756
OLECLIENTVTBL 756
OLEOBJECT 757
OLEOBJECTVTBL 757
OLESERVER 3.1 758
OLESERVERDOC 3.1 759
OLESERVERDOCVTBL 3.1 759
OLESERVERVTBL 3.1 760
OLESTREAM 3.1 761
OLESTREAMVTBL 3.1 761
OPENFILENAME 3.1 762
OUTLINETEXTMETRIC 3.1 764
PAINTSTRUCT 766
PALETTEENTRY 766
PANOSE 3.1 767
POINT 771
POINTFX 3.1 771
PRINTDLG 3.1 772
PASTRERIZER_STATUS 3.1 774
RECT 776
PGBQUAD 776
RGBTRIPLE 777
SEGINFO 3.1 777
SIZE 3.1 778
STACKTPACEENTRY 3.1 778
String 3.1 779
StringFileInfo 3.1 780
StringTable 3.1 780
SYSHEAPINFO 3.1 782
TASKENTRY 3.1 783
TEXTMETRIC 783
TIMERINFO 3.1 786
TIPLOYCURVE 3.1 786
TTPOLYGONHEADER 3.1 787
Var 3.1 787
VarFileInfo 3.1 787
VS_FIXEDFILEINFO 3.1 788
VS_VERSION_INFO 3.1 790
WNDCLASS 790
WINDOWPLACEMENT 3.1 792
WINDOWPOS 3.1 792