SDK工具 1
目录 1
CB GETDROPPEDCONTROLRECT 3. 1
WM CHOOSFFONT_GETLOGFONT 3. 1
Windows编程技术 1
概述 1
本书使用的约定 3
第一章 Windows系统介绍 4
1.1 Windows系统的历史 4
1.2.1 Windows系统为用户提供的方便 5
1.2 Windows的普及性 5
1.2.2 Windows系统为程序员提供的方便 6
1.3 窗口的标准组成部分 6
1.3.1 边框 7
1.3.2 用户区 7
1.3.3 控制菜单 7
1.3.6 菜单栏 8
1.3.7 最小按钮(Minimize Button) 8
1.3.8 标题栏 8
1.3.5 最大按钮(Maximize Button) 8
1.3.4 水平滚动杆 8
1.6 匈牙利表示法 9
1.5 Windows系统消息 9
1.4 Windows系统函数 9
1.3.9 垂直滚动杆 9
1.8 头文件 10
1.7 句柄 10
第二章 Windows 3.1编程基础 11
2.1 事件驱动编程技术 11
2.2 WinMain函数 12
2.3 消息循环 15
2.4 窗口函数 15
2.5 用Projects开发Windows应用程序 16
2.6 Windows应用程序常用文件格式 17
2.6.1 C源代码文件 17
2.6.2 模块定义文件 18
2.6.4 Makefile文件 18
2.6.3 资源描述文件 18
2.7 基本的Windows程序 19
第三章 图形设备接口(GDI) 23
3.1 设备描述表 23
3.2 映射方式 24
3.3 绘画坐标 25
3.3.1 设备坐标系 25
3.4 GDI图形及点 25
3.3.2 逻辑坐标系 25
3.5 绘画直线 29
3.5.1 笔 36
3.5.2 绘画方式 37
3.6 创建填充区 37
3.6.1 绘画边界 37
3.6.2 区域填充 41
3.7.1 文本输出函数 45
3.7 文本和字体 45
3.7.2 设备描述表中有关文本的属性 53
3.7.3 使用字体方式 54
3.7.4 文本规格 58
3.7.5 排列文本 60
3.7.6 文本滚动窗口 61
3.8 打印 67
4.1 加速键的使用 68
第四章 资源 68
4.2 位图的使用 72
4.3 光标的使用 77
4.4 对话框的使用 80
4.5 图标的使用 86
4.6 菜单的使用 91
4.7 串的使用 96
第五章 键盘与Windows系统 102
5.1 键盘输入 102
5.2 键盘消息 103
5.2.1 lParam 103
5.2.2 wParam 104
5.3 字符消息 105
5.6 键盘范例 106
5.5 插字符 106
5.4 字符集 106
第六章 鼠标与Windows系统 113
6.1 鼠标输入 113
6.2 鼠标消息 114
6.2.1 击键测试消息 114
6.2.2 用户区鼠标消息 115
6.2.3 非用户区鼠标消息 115
6.3 鼠标范例 116
第七章 Windows系统和子窗口 121
7.1 窗口的创建 121
7.1.1 定义窗口类 121
7.1.2 创建窗口 123
7.2 子控制窗口 129
7.3 子窗口范例 131
第八章 内存管理与Windows系统 136
8.1 局部堆和全局堆 136
8.2 段 139
第九章 多文档界面(MDI) 141
9.1 MDI应用程序 141
9.2 MDI消息循环 141
9.5 MDI范例 142
9.4 框架和子窗口函数 142
9.3 MDI消息 142
第十章 动态连接库 152
10.2 输入库 152
10.1 静态连接与动态连接 152
10.3 DLL代码结构 153
10.4 创建DLL 154
10.5 在Windows应用程序中使用DLL 156
Windows函数 160
AbortDoc 160
AccessResource 160
AddAtom 161
AddFontResource 161
AdjustWindowRect 161
AdjustWindowRectEx 162
AllocDiskSpace 163
AllocFileHandles 163
AllocDStoCSAtias 163
AllocGDIMem 164
AllocMem 164
AllocResource 164
AllocSelector 164
AllocUserMem 165
AnimatePalette 165
AnsiLower 166
AnsiLowerBuff 166
AnsiNext 166
Ansiprev 167
AnsiToOem 167
AnsiToOemBuff 167
AnsiUpperBuff 168
AnyPopup 168
AppendMenu 168
AnsiUpper 168
Arc 169
ArrangeIconicWindows 170
AeginDeferWindowPos 170
BeginPaint 170
BitBlt 171
BringWindowToTop 172
BuildCommDCB 172
CallMsgFilter 174
CallNextHookEx 175
CallWindowProc 175
Catch 175
ChangeMenu 176
ChangeSelector 176
ChangeClipboardChain 176
CheckDlgButton 177
CheckMenultem 177
CheckRadioButton 178
ChooseColor 178
ChildWindowFromPoint 178
ChooseFont 179
Chord 182
ClassFirst 182
ClientToScreen 183
ClearCommBreak 183
ClassNext 183
CloseClipboard 184
ClipCursor 184
CloseComm 185
CloseDriver 185
CloseMetaFfle 185
CloseWindow 186
CombineRgn 186
CommDlgExtendedError 3.1 186
CopyLZFile 188
CopyCursor 188
CopyIcon 188
CopyMetaFile 189
CopyRect 189
CountClipboardFormats 189
CreateBitmap 190
CreateBitmapIndirect 190
CreateBrushlndirect 191
CreateCaret 192
CreateCompatibleBitmap 192
CreateDC 193
CreateCursor 193
CreateCompatibleDC 193
CreateDialog 196
CreateDialogIndirect 197
CreateDialogIndirectParam 199
CreateDialogParam 200
CreateDIBitmap 201
CreateDlBPatternBrush 202
CreateDiscardableBitmap 203
CreateEllipticRgn 203
CreateEllipticRgnIndirect 204
CreateFont 204
CreateFontlndirect 206
CreateMenu 209
CreateIC 209
CreateIcon 209
CreateMetaFile 210
CreatePalette 210
CreatePatternBrush 211
CreatePen 211
CreatePolygonRgn 212
CreatePenlndirect 212
CreatePolyPo1ygonRgn 213
CreatePopupMernu 213
CreateRectRgn 214
CreateRectRgnIndirect 214
CreateRoundRectRgn 214
CreateSolidBrush 215
CreateScalableFontResource 215
CreateWindow 216
CreateHatchBrush 218
CreateWindowEx 220
DdeAbandonTransaction 221
DdeAccessData 221
DdeAddData 221
DdeClientTransaction 222
DdeCmpStringHandles 222
DdeConnect 223
DdeCreateDataHandle 224
DdeConnectList 224
DdeDisconnect 225
DdeCreateStringHandle 3.1 225
DdeDisconnectList 226
DdeEnableCallback 226
DdeFreeDataHandle 226
DdeFreeStringHandle 227
DdeGetData 227
DdeGetLastError 227
DdeInitialize 229
DdeKeepStringHandle 230
DdePostAdvise 3.1 231
DdeQueryConvlnfo 231
DdeNameSerice 231
DdeQueryString 3.1 234
DdcReconnect 234
DdeQueryNextServer 3.1 234
DdeSetUserHandle 235
DdeUnaccessData 235
DdeUninitialize 235
DebugBreak 235
DefDlgProc 236
DeferWindowPos 236
DefDriverProc 236
DefFrameProc 237
DefHookProe 238
DcfMDIChildProc 238
DefineHandleTable 238
DefWindowProc 239
DeleteAtom 239
DeleteDC 239
DestroyCaret 240
DeleteObject 240
DeleteMetaFile 240
DeleteMenu 240
Destroylcon 241
DestroyMenu 241
DestroyCursor 241
DestroyWindow 242
DeviceCapabilities 242
DeviceMode 245
DialogBox 246
DialogBoxlndirect 246
DialogBoxlndirectParam 248
DialogBoxParam 249
DirectedYield 250
DispatchMessage 250
DlgDirList 251
DlgDirListComboBox 252
DlgDirSelect 253
DlgDirSelectComboBox 253
DOS3Call 254
DPtoLP 254
DragAcceptFiles 254
DragQueryPoint 255
DragQueryFile 255
DragFinish 255
DrawFocusRect 256
Drawlcon 256
DrawMenuBar 257
DrawText 257
Ellipse 258
EmptyClipboard 258
EnableCommNotification 259
EnableHardwarelnput 259
EnableMenultem 259
EnableScrollBar 260
EnableWindow 261
EndDialog 261
EndDeferWindowPos 261
EndDoc 262
EndPaint 262
EndPage 262
EnumChildWindows 263
EnumClipboardFormats 263
EnumFontFamilies 3.1 264
EnumFonts 264
EnumMetaFile 265
EnumObjects 265
EnumProps 266
EnumTaskWindows 267
EnumWindows 267
EqualRgn 268
EqualRect 268
Escape 269
EscapeCommFunction 269
ExcludeClipRect 270
ExcludeUpdateRgn 270
ExitWindows 270
ExtDeviceMode 271
ExtFloodFill 272
Extractlcon 272
ExtTextOut 273
FatalExit 273
FatalAppExit 273
FillRect 274
FillRgn 274
FindAtom 275
FindExecutable 275
FindResource 275
FindText 276
FlashWindow 277
FindWindow 277
FlushComm 278
FrameRect 278
FloodFill 278
FrameRgn 279
FreeAllGDIMem 279
FreeAllMem 279
FreeAllUserMem 280
FreeLibrary 280
FreeProclnstance 280
FreeModule 280
GetAspectRatioFilter 281
FreeResource 281
GetActiveWindow 281
FreeSelector 281
GetAsyncKeyState 282
GetAtomHandle 282
GetAtormName 282
GetAspectRatioFilterEx 282
GetBitmapBits 283
GetBitmapDimension 283
GetBitmapDimensionEx 283
GetBkColor 284
GetBkMode 284
GetBoundsRect 3.1 284
GetBrushOrg 285
GetBValue 285
GetCapture 285
GetCharABCWidths 3.1 286
GetCaretPos 286
GetCaretBlinkTime 286
GetCharWidth 287
GetClassInfo 287
GetClassLong 287
GetClassWord 288
GetClassName 288
GetClientReet 289
GetClipboardData 289
GetClipboardFortnatName 289
GetClipboardOwner 290
GetClipBox 290
GetClipboardViewer 290
GetClipCursor 3.1 291
GetCodeHandle 291
GetCodelnfo 292
GetCommError 292
GetCommEventMask 293
GetCommState 294
GetCurrentTask 296
GetCurrentPDB 296
GetCuffentPosition 296
GetCurrentPositionEx 296
GetDC 297
GetCursor 297
GetCursorPos 297
GetCuffentTime 297
GetDCEx 298
GetDCOrg 298
GetDesktopWindow 299
GetDeviceCaps 299
GetDlBits 302
GetDialogBaseUnits 302
GetDlgCtrllD 303
GetDlgItemlnt 304
GetDlgItem 304
GetDlgItemText 304
GetDriverlnfo 3.1 305
GetDoubleClickTime 305
GetDOSEnvironment 305
GetDriverModuleHandle 3.1 306
GetDriveType 306
GetEnvironment 306
GetExpandedName 3.1 307
GetFileResourceSize 3.1 307
GetFileResource 3.1 307
GetFileTitle 308
GetFdeVersionInfo 308
GetFileVersionlnfoSize 3.1 308
GetFocus 309
GetFontData 3.1 309
GetGlyphOutline 3.1 310
GetFreeSystemResourccs 3.1 310
GetFreeSpace 310
GetGValue 311
GetInputState 311
GetInstanceData 312
GetKeyboardState 312
GetKBCodePage 312
GetKeyboardType 313
GetKeyNameText 313
GetMapMode 314
GetLastActivePopup 314
GetKeyState 314
GetMenu 315
GetMenuItemCount 315
GetMenuItemID 315
GetMenuCheckMarkDimensions 315
GetMenuState 316
GetMenuString 317
GetMessage 317
GetMessageTime 318
GetMetaFile 318
GetMessageExtralnfo 318
GetMessagePos 318
GetMetaFileBits 319
GetModuleHandle 319
GetModuleFfleName 319
GetNextDlgGroupltem 320
GetModuleUsage 320
GetNearestPaletteIndex 320
GetNearestColor 320
GetNextDlgTabltem 321
GetNextDriver 3.1 321
GetNextWindow 322
GetNumTasks 322
GetObject 322
GetOpenFileName 323
GetOpenClipboardWindow 3.1 323
GetOutlineTextMetrics 3.1 325
GetPaletteEntries 327
GetParent 327
GetPixel 328
GetPolyFillMode 328
GetPriorityClipboardFormat 328
GetPrivateProfilelnt 329
GetProcAddress 329
GetPrivateProfileString 329
GetProfileInt 330
GetProfileString 330
GetRasterizerCaps 3.1 331
GetQueueStatus 331
GetProp 331
GetRgnBox 332
GetROP2 333
GetRValue 333
GetSaveFileName 3.1 334
GetScrollPos 335
GetScrollRange 336
GetSelectorBase 3.1 336
GetSeleetorLimiit 3.1 337
GetStockObject 337
GetStretchBltmode 338
GetSubMenu 338
GetSysColor 338
GetSysModalWindow 339
GetSystemDebugState 3.1 339
GetSystenDirectory 340
GetSystemDir 3.1 340
GetSystemMetrics 341
GetSystemMenu 341
GetSystemPaletteEntries 342
GetSystemPaletteUse 343
GetTabbedTextExtent 343
GetTempFileName 344
GetTempDrive 344
GetTextAlign 345
GetTextCharacterExtra 345
GetTextColor 345
GetTextExtent 346
GetTextExtentEx 346
GetTextExtentPoint 3.1 346
GetTextFace 347
GetTextMetrics 347
GetTopWindow 349
GetTickCount 349
GetUpdateRect 350
GettUpdateRgn 350
GetVersion 351
GetViewportExt 351
GetViewportExtEx 351
GetViewportOrg 351
GetViewportOrgEx 3.1 352
GetWindow 352
GetwindowDC 353
GetWindowLong 353
GetWindowExt 353
GetWindowOrg 354
GetWindowOrgEx 354
GetWindowPlacement 3.1 354
GetWindowRect 354
GetWindowsDir 3.1 355
GetWindowsDirectory 355
GetWindowText 356
GetWindowTextLength 356
GetWindowTask 356
GetWindowWord 357
GetWinFlags 357
GlobalAddAtom 357
GlobalAlloc 358
GlobalCompact 358
GlobalDeleteAtom 359
GlobalDiscard 359
GlobalDosAlloc 359
GlobalDosFree 360
GlobalEntryHandle 360
GlobalEntryModule 362
GlobalFindAtom 363
GlobalFirst 3.1 364
GlobalFree 366
GlobafFlags 366
GolbalFix 366
GlobalGetAtomName 367
GlobalHandle 367
GlobatHandleToSel 3.1 367
GlobalInfo 3.1 367
GlobalLRUNewest 368
GlobalLRLIOldest 368
GlobalLock 368
GlobalNext 3.1 369
GlobalNotify 371
GlobalPageLock 371
GlobalPagcUnlock 371
GlobalSize 372
GlobalUnfix 372
GlobalRealloc 372
GlobalUnlock 373
GrayString 373
HideCaret 374
HiliteMenuItem 374
HIBYTE 374
HIWORD 375
InflateRect 375
InitAtomTable 376
InSendMessage 376
InsertMenu 376
InterruptRegister 3.1 377
InterruptUnRegister 3.1 378
IntersectClipRect 378
IntersectRect 379
InvalidateRect 379
InvalidateRgn 380
InvertRect 380
IsCharAphaNumeric 381
InvertRgn 381
IsCharAlpha 381
IsCharLower 382
IsChild 382
IsClipboardFormatAvailable 382
IsCharUpper 382
IsDBCSLeadByte 3.1 383
IsDialogMessage 383
IsIconic 384
ISDlgButtonChecked 384
IsMenu 3.1 384
IsReetEmpty 385
IsWindow 385
IsTask 3.1 385
IsWindowEnabled 386
IswindowVisible 386
ISZoomed 386
KillTimer 386
lclose 387
lcreat 387
LineDDA 387
Line? 388
llseek 388
LoadBitmap 389
LoadCursor 389
LoadAccelerators 389
LoadIcon 390
LoadLibrary 391
LoadMenu 391
LoadMenuIndirect 392
LoadModule 392
LoadResource 393
LoadString 394
LOBYTE 394
LocalAlloc 394
LocalDiscard 395
LocalCompact 395
LocalFirst 396
LocalFlags 398
LocalFree 398
LocalHandle 398
LocalInfo 398
LocalInit 399
LocalLock 399
LocalNext 3.1 399
LocalRealloc 401
LocalShrink 402
LockData 403
LockResource 403
LockInput3.1 403
LocalUnlock 403
LocalSize 403
lopen 404
LoekSegment 404
LockWindowUpdate 3.1 405
LPtoDP 405
LOWORD 405
lread 406
lstrcat 406
lstrcmp 406
lstrempi 407
lstrepy 407
lstrlen 407
lwrite 407
LZClose 3.1 408
LZCopy 3.1 408
LZlnInt 3.1 409
LZOpenFile 3.1 409
LZDone 3.1 409
LZRead 3.1 410
LZSeek 3.1 411
LZStart 3.1 411
MAKEINTATOM 412
MAKEINTRESOURCE 412
MAKELONG 412
MAKEPOINT 412
MakeProcInstance 413
MapDialogRect 413
MapWindowPoints 3.1 414
max 414
MapVirtualKey 414
MemManlnfo 415
MemoryRead 3.1 416
MemoryWrite 3.1 416
MessageBeep 416
MessageBox 417
min 418
ModifyMenu 418
ModuleFindHandle 3.1 419
ModuleFindName 3.1 420
ModuleFirst 3.1 421
ModuleNext 3.1 421
MoveToEx 3.1 422
MoveTo 422
MoveWindow 423
MulDiv 423
NetBlOSCall 424
NotifyRegister 3.1 424
NotifyCnRegister 425
OemKeySean 425
OemToAnsiBolf 426
OemToAnsi 426
OffsetClipRgn 426
OffsetRgn 427
OffsetReet 427
OffsetViewportOrg 428
OffsetViewportOrgEx3.1 428
OffsetWindowOrg 429
OffsetwindowOrgEx3.4 429
OleAetivate 3.1 429
OleClone 3.1 430
OleColse 3.1 430
OleBlockServer3.1 430
OleCopyFromLink 3.1 431
OleCopyToClipboard 3.1 431
OleCreate 3.1 431
OleCreateFromClip 3.1 432
OleCreateFromFile 3.1 433
OleCreatclnvisible 434
OleCreateFromTemplate 3.1 434
OleCreateLinkFromClip 3.1 435
OleCreateLinkFromFile 3.1 436
OleDelete 3.1 437
OleDraw 3.1 437
OleEnumFormats 3.1 438
OleEnumObjeets 3.1 438
OleEqual 3.1 438
OleExeeute 3.1 439
OleGetData 3.1 439
OleGetLinkUpdateOptions 3.1 439
OleLoadFromStream 3.1 440
OlelsDCMeta 3.1 440
OleObjeetConvert 3.1 441
OleLockServer 3.1 441
OleQueryBounds 3.1 442
OleQueryClientVersion 3.1 442
OleQueryCreateFromClip 3.1 442
OleQueryLinkFromClip 3.1 443
OleQueryName 3.1 443
OleQueryOutOfDate 3.1 444
OleQueryProtocol 3.1 444
OleQueryOpen 3.1 444
OleQueryReleaseError 3.1 445
OleQueryReleaseMethod 3.1 445
OleQuerySize 3.1 446
OleQueryReleaseStatus 3.1 446
OleQueryServerVersion 3.1 446
OleRegisterClientDoc 3.1 447
OleReconneet 3.1 447
OleQueryType 3.1 447
OleRegisterServer 3.1 448
OleRegisterServerDoc 3.1 448
OleRelease 3.1 449
OleRename 3.1 449
OleRenameClientDoc 3.1 449
OleRenameServerDoc 3.1 449
OleRequestData 3.1 450
OleRevertClientDoc 3.1 450
OleRevertServerDoc 3.1 450
OleRevokeClientDoe 3.1 451
OleRevokeObjeet 3.1 451
OleRevokeServer 3.1 451
OleSavedServerDoc 3.1 452
OleSaveToStrearn 3.1 452
OleRevokeServerDoc 3.1 452
OleSavedClicntDoc 3.1 452
OleSetBounds 3.1 453
OleSetData 3.1 453
OleSetColorScheme 3.1 453
OleSetHostNames 3.1 454
OleSetLinkUpdateOptions 3.1 455
OleSetTargetDevice 3.1 455
OleUnlockServer 3.1 455
OpenClipboard 456
OleUpdate 3.1 456
OleUnlockServer 3.1 456
OpenComm 457
OpenDriver 3.1 457
OpenFile 458
Openlcon 459
OutputDebugString 459
PaintRgn 459
PALETTElNDEX 459
PALETTERGB 459
PatBlt 460
PeekMessage 460
Pie 461
PlayMetaFfle 462
PlayMetaFileRecord 462
Polyline 463
Polygon 463
PostAppMessage 464
Polypolygon 464
PostMessage 465
PostQuitMessage 465
PrintDlg 3.1 465
ProfClear 467
ProfFinish 468
ProfFlush 468
ProflnsChk 468
ProfSampRate 468
ProfStart 469
ProfStop 469
ProfSetup 469
PtlnRegion 470
PtlnRect 470
PtVisible 471
QuerySendMessage 3.1 471
ReadComm 472
RealizePalette 472
Rectangle 472
ReetVisible 473
RectlnRegion 473
RedrawWindow 474
RegCloseKey 3.1 474
RegCreateKey 3.1 475
RegDeleteKey 3.1 475
RegEnumKey 3.1 475
RegisterClass 3.1 476
RegisterClipboardFomat 476
RegisterWindowMessage 476
RegOpenKey 3.1 477
RegQueryValue 3.1 477
RegSetValue 3.1 477
ReleaseCapture 478
RemoveFontResource 478
RemoveMenu 478
ReleaseDC 478
RemoveProp 479
ReplaceText 3.1 479
ReplyMessage 481
ResetDC 3.1 481
ResizePalette 481
RestoreDC 481
RoundRect 482
SaveDC 482
RGB 482
SealeViewportExt 483
ScaleViewportExtEx 3.1 483
ScaleWindowExtEx 484
ScaleWindowExt 484
ScreenToClient 485
ScrollDC 485
ScrollWindow 486
ScrollWindowEx 486
SelectClipRgn 487
SelectPalette 488
SendDlgItemMessage 488
SeleetObject 488
SendMessage 489
SendDriverMessage 3.1 489
SetAbortProc 3.1 490
SetActiveWindow 490
SetBitmapBits 490
SetBitmapDimension 491
SetBitmapDimensionEx 3.1 491
SetBkColor 491
SetBoundsRect 492
SetBkMode 492
SetBrushOrg 493
SetCaretBlinkTine 493
SetCapture 493
SetCaretPos 494
SetClassLong 494
SetClassWord 494
SetClipboardData 495
SetClipboardViewer 496
SetCommBreak 496
SetCommEventMask 496
SetCommState 497
SetCursor 499
SetDlBits 499
SetCursorPos 499
SetDlBitsToDevice 501
SetDlgltemlnt 502
SetDlgitemText 502
SetDoubleClickTimc 503
SetEnvironment 503
SctErrorMode 504
SetFocus 504
SetHandleCount 504
SetKeyboardState 504
SetMapMode 505
SetMapperFlags 505
SetMenu 506
SetMenultemBitmaps 506
SetMessageQueue 506
SetMetaFileBits 507
SetMetaFileBitsBetter 507
SetPaletteEntries 507
Setpixel 508
SetParent 508
SetPolyFillMode 509
SetProp 509
SetRect 509
SetRectEmpty 510
SetRectRgn 511
SetROP2 511
SetResourceHandler 511
SetScrollPos 512
SetScrollRange 513
SetSelectorBase 513
SetSeleetorLimit 514
SetStretchBltMode 514
SetSwapAreaSize 514
SetSysColors 515
SetTextAlign 516
SetSysModaWindow 516
SetSystemPaletteUse 516
SetTextJustfication 517
SetTextColor 517
SetTextCharacterExtra 517
SetTimer 518
SetViewPortExt 518
SetViewportExtEx 519
SetViewportOrg 519
SetVievMortOrgEx 520
SetWindowExt 520
SetWindowExtEx 3.1 521
SetWindowLong 521
SetwindowOtg 521
SetWindowOrgEx 522
SetWindowPlacement 522
SetWindowpos 523
SetWindowsllook 523
SetWindowsHookEx 3.1 524
SetWindowWord 525
SetWindowText 525
ShellExectute 3.1 526
ShowOwnedPopups 527
ShowCaret 527
ShowCursor 527
ShowWindow 528
ShowScrollBar 528
SizeofResource 529
StackTraceCSIPFirst 3.1 529
StackTraceFirst 3.1 530
StackTraeeNext 3.1 531
StartDoc 3.1 532
StartPage 3.1 532
StretchBlt 533
StretchDlBits 534
SwapMouseButton 536
SwitchStackBack 536
SwitchStackTo 536
SystemHeapInfo 536
SystemParameterslnfo 3.1 537
TaskFindHandle 538
TabbedTextOut 538
TaskFirst 3.1 539
TaskGetCSIP 3.1 540
TaskNext 3.1 541
TaskSwitch 3.1 542
TerminateApp 3.1 542
TaskSetCSIP 3.1 542
TextOut 543
Throw 543
TimerCount 3.1 543
TrackPopupMenu 544
ToAscii 544
TranslateAccelerator 545
TranslateMessage 546
TransiateMDISysAccel 546
TransmitCommChar 547
UnAllocDiskSpace 3.1 547
UnAllocFileHandles 548
UngetCommChar 548
UnhookWindowsHook 548
UnionRect 549
UnhookWindowsHookEx 3.1 549
UnlockResource 550
UnlockData 550
UnlockSegment 550
UnregisterClass 551
UpdateColrs 551
UpdateWindow 551
UnrealizeObject 551
ValidateCodeSegments 552
ValidateFreeSpaces 552
ValidateRect 552
ValidateRgn 553
VerFindFile 3.1 553
VerInstallFile 3.1 554
VkKeyScan 555
VerLanguageName 3.1 555
VerQueryValue 3.1 555
WaitMcssage 556
WindowFromPoint 556
WinExec 556
WinHelp 558
WNetAddConnection 3.1 558
WNetCancelConnection 3.1 559
WNetGetConnection 3.1 559
WritePrivateProfileString 560
WriteComm 560
wsprintf 561
WriteProfileString 561
wvsprintf 562
Yield 563
Windows消息 564
BM GETCHECK 564
BM GETSTATE 564
BM SETCHECK 565
BM SETSTATE 565
BM SETSTYLE 565
CB DELETESTRING 566
BN DOUBLECLICKED 566
CB ADDSTRING 566
BN CLICKED 566
CB DIR 567
CB FINDSTRING 567
CB GETCOUNT 567
CB GETCURSEL 568
CB GETDROPPEDSTATE 3.1 568
CB GETEDITSEL 568
CB GETLBTEXT 569
CB GETEXTENDEDUI 3.1 569
CB GETITEMDATA 569
CB GETITEMHEIGHT 3.1 569
CB GETLBTEXTLEN 570
CB INSERTSTRING 570
CB LIMITTEXT 570
CB RESETCONTENT 570
CB SELECTSTRING 571
CB SETCURSEL 571
CB SETEDITSEL 571
CB SHOWDROPDOWN 572
CB SETITEMDATA 572
CB SETITEMHEIGHT 3.1 572
CB SETEXTENDEDUI 572
CBN CLOSEUP 3.1 573
CBN DBLCLK 573
CBN DROPDOWN 573
CBN EDITCHANGE 573
CBN EDITUPDATE 573
CBN SELENDCANCEL 3.1 574
CBN SELENDOK 574
CBN KILLFOCUS 574
CBN SELCHANGE 574
CBN ERRSPACE 574
CBN SETFOCUS 575
DM GETDEFID 575
DM SETDEFID 575
DRV GLOSE 3.1 575
DRV CONFIGURE 3.1 576
DRV DISABLE 3.1 576
DRV ENABLE 3.1 576
DRV FREE 3.1 577
DRV INSTALL 3.1 577
DRV QUERYCONFIGURE 3.1 578
DRV LOAD3.1 578
DRV OPEN 3.1 578
DRV POWER 3.1 579
DRV REMOVE 3.1 579
DRV USER 3.1 580
EM CANUNDO 580
EM EMPTYUNDOBUFFER 580
EM FMTLINES 580
EM GETMODIFY 581
EM GETLINECOUNT 581
EM GETLINE 581
EM GETFIRSTVISIBLELINE 3.1 581
EM GETHANDLE 581
EM GETPASSWORDCHAR 3.1 582
EM GETRECT 582
EM GETSEL 582
EM GETWORDBREAKPROC 3.1 583
EM LIMITTEXT 583
EM LINEFROMCHAR 583
EM LINEINDEX 583
EM SETMODIFY 584
EM SETHANDLE 584
EM REPLACESEL 584
EM LINESCROLL 584
EM LINELENGTH 584
EM SETPASSWORDCHAR 585
EM SETREADONLY 3.1 585
EM SETRECT 585
EM SETRECTNP 586
EM SETSEL 586
EM SETTABSTOPS 586
EM SETWORDBREAKPROC 3.1 587
EM UNDO 587
EN CHANGE 587
EN MAXTEXT 588
EN ERRSPACE 588
EN KILLFOCUS 588
EN HSCROLL 588
EN SETFOCUS 589
EN UPDATE 589
EN VSCROLL 589
LB ADDSTRING 589
LB DELETESTRING 590
LB DIR 590
LB FINDSTRING 590
LB GETCARETINDEX 3.1 590
LB GETITEMDATA 591
LB GETCOUNT 3.1 591
LB GETIIORIZONTALEXTENT 591
LB GETCURSEL 591
LB GETITEMHEIGHT 3.1 592
LB GETITEMRECT 592
LB GETSEL 592
LB GETSELCOUNT 592
LB INSERTSTRING 593
LB GETTOPINDEX 593
LB GETTEXTLEN 593
LB GETSELITEMS 593
LB GETTEXT 593
LB RESETCONTENT 594
LB SELECTSTRING 594
LB SELITEMRANGE 594
LB SETCARETINDEX 3.1 594
LB SETITEMDATA 595
LB SETITEMHEIGHT 3.1 595
LB SETHORIZONTALEXTENT 595
LB SETCURSEL 595
LB SETCOLUMNWIDTH 595
LB SETSEL 596
LB SETTABSTOPS 596
LB SETTOPINDEX 596
LBN DBLCLK 597
LBN ERRSPACE 597
LBN KILLFOCUS 597
LBN SELCHANGE 597
LBN SETFOCUS 597
WM ACTIVATE 598
WM ACTIVATEAPP 598
STM SETICON 598
STM GETICON 3.1 598
WM ASKCBEORMATNAME 599
WM CANCELMODE 599
WM CHANGECBCHAIN 599
WM CHAR 599
WM CHARTOITEM 600
WM CHILDACTIVATE 600
WM COMMNOTIFY 601
WM COMMAND 601
WM CLOSE 601
WM CLEAR 601
WM COMPACTING 602
WM COMPAREITEM 602
WM COPY 603
WM CREATE 603
WM CTLCOLOR 604
WM CUT 604
WM DDE ACK 604
WM DDE ADVISE 605
WM DDE DATA 606
WM DDE POKE 607
WM DDE EXECUTE 607
WM DDE INITIATE 607
WM DDE REQUEST 608
WM DDE TERMINATE 608
WM DDE UNADVISE 608
WM DEADCHAR 609
WM DELETEITEM 609
WM DESTROY 610
WM DESTROYCLIPBOARD 610
WM DEVMODECHANGE 610
WM DRAWCLIPBOARD 610
WM DROPFILES 611
WM DRAWITEM 611
WM ENABLE 612
WM ENDSESSION 612
WM ENTERIDLE 612
WM ERASEBKGND 612
WM FONTCHANGE 613
WM GETDLGCODE 613
WM GETFONT 613
WM GETTEXTLENGTH 614
WM GETTEXT 614
WM GETMINMAXINFO 614
WM GETHOTKEY 614
WM HSCROLL 615
WM HSCROLLCLIPBOARD 615
WM ICONERASEBKGND 616
WM INITDIALOG 616
WM INITMENU 616
WM INITMENUPOPUP 617
WM KEYDOWN 617
WM KEYUP 617
WM LBUTTONDOWN 618
WM KILLFOCUS 618
WM LBUTTONDBLCLK 618
WM LBUTTONUP 619
WM MBUTTONDBLCLK 619
WM MBUTTONDOWN 619
WM MBUTTONUP 620
WM MDIACTIVATE 620
WM MDICASCADE 620
WM MDICREATE 621
WM MDIMAXIMIZE 622
WM MDIICONARRANGE 622
WM MDINEXT 622
WM MDIDESTROY 622
WM MDIGETACTIVE 622
WM MDIRESTORE 623
WM MDISETMENU 623
WM MDITILE 623
WM MEASUREITEM 623
WM MENUCHAR 624
WM MENUSELECT 624
WM MOUSEACTIVATE 625
WM MOVE 626
WM NCACTIVATE 626
WM MOUSEMOVE 626
WM NCCALCSIZE 627
WM NCCREATE 627
WM NCDESTROY 628
WM_NCHITTEST 628
WM_NCLBUTTONDBLCLK 629
WM NCLBUTTONDOWN 630
WM NCLBUTTONUP 631
WM NCMBUTTONDBLCLK 631
WM NCMBUTTONDOWN 632
WM NCMBUTTONUP 633
WM NCMOUSEMOVE 634
WM NCRBUTTONDBLCLK 635
WM NCPAINT 635
WW NCRBUTTONUP 636
WM NCRBUTTONDOWN 636
WM NEXTDLGCTL 637
WM PAINT 638
WM PAINTCLIPBOARD 638
WM PALETTECHANGED 638
WM PARENTNOTIFY 639
WM PASTE 639
WM POWER 3.1 639
WM QUERYNEWPALETTE 640
WM QUERYOPEN 640
WM QUERYENDSESSION 640
WM QUERYDRAGICON 640
WM QUEUESYNC 3.1 641
WM QUIT 641
WM RBUTFONDBLCLK 641
WM RBUTTONDOWN 641
WM RBUTTONUP 642
WM RENDERALLFORMATS 642
WM RENDERFORMAT 642
WM SETCURSOR 643
WM SETREDRAW 644
WM SETHOTKEY 644
WM SETFOCUS 644
WM SETFONT 644
WM SETTEXT 645
WM SHOWWINDOW 645
WM SIZE 645
WM SIZECLIPBOARD 646
WM SPOOLERSTATUS 646
WM SYSCHAR 646
WM SYSCOLORCHANGE 647
WM SYSCOMNMD 647
WM SYSKEYUP 648
WM SYSDEADCHAR 648
WM SYSKEYDOWN 648
WM SYSTEMERROR 649
WM TIMECHANGE 649
WM TIMER 649
WM UNDO 649
WM VKEYTOITEM 650
WM VSCROLL 650
WM VSCROLLCLIPBOARD 650
WM WINDOWPOSCHANGING 651
WM WININICHANGE 651
WM WINDOWPOSCHANGED 3.1 651
Windows打印机Esc命令码 652
ABORTDOC 652
BANDINFO 652
BEGIN_PATH 653
CLIP_TO_PATH 653
DEVICEDATA 654
DRAFTMODE 654
DRAWPATTERNRECT 655
ENABLEDUPLEX 655
ENABLEREIATIVEWIDTHS 656
ENABLEPAIRKERNING 656
ENDDOC 657
END_PATH 657
ENUMPAPERBINS 658
ENUMPAPERMETRICS 658
EPSPRINTING 659
EXT_DEVICE_CAPS 659
EXTTEXTOUT 660
FLUSHOUTPUT 660
GETCOLORTABLE 661
GETEXTENDEDTEXTMETRICS 661
GETEXTENTTABLE 662
GETPAIRKERNTABLE 663
GETFACENAME 663
GETPHYSPAGESIZE 664
GETPRINTINGOFFSET 664
GETSCALINGFACTOR 664
GETSETPAPERBINS 665
GETSETPAPERMETRICS 666
GETSETPAPERORIENT 666
GETTECHNOLOGY 667
GETTRACKKERNTABLE 667
GETSETSCREENPARAMS 667
GETVECTORBRUSHSIZE 668
GETVECTORPENSIZE 669
MFCOMMENT 670
NEWFRAME 670
NEXTBAND 671
PASSTHROUGH 671
QUERYESCSUPPORT 671
RESTORE_CTM 672
SAVE_CTM 672
SETABORTPROC 672
SET_ARC_DIRECTION 673
SETALLJUSTVALUES 673
SET_BOUNDS 674
SET_BACKGROUND_COLOR 674
SETCOLORTABLE 675
SETCOPYCOUNT 675
SETKERNTRACK 676
SETLINECAP 676
SETLINEJOIN 676
SET_MIRROR_MODE 677
SETMITERLIMIT 677
SET_POLYMODE 677
STARTDOC 678
SET_SCREEN_ANGLE 678
SET_SPREAD 678
TRANSFORM_CTM 679
Windows数据结构 680
ABC 3.1 680
BITMAP 680
BITMAPCOREHEADER 681
BITMAPCOREINFO 681
BITMAPFILEHEADER 682
BITMAPINFO 682
BITMAPINFOHEADER 683
CBT_CREATEWND 3.1 684
CBTACTIVATESTRUCT 3.1 684
CHOOSECOLOR 3.1 684
CHOOSEFONT 3.1 685
CLASSENTRY 3.1 687
CLIENTCREATESTRUCT 688
COMPAREITEMSTRUCT 688
COMSTAT 689
CONVCONTEXT 3.1 689
CONVINFO 3.1 690
CPLINFO 3.1 692
CREATESTRUCT 692
DCB 693
DDEACK 695
DDEADVISE 696
DDEDATA 696
DDEPOKE 697
DEBUGHOOKSTRUCT 3.1 698
DELETEITEMSTRUCT 699
DEVMODE 700
DLGITEM 703
DEVNAMES 703
DLGTEMPLATE 704
DOCINFO 705
DRAWITEMSTRUCT 706
FINDREPLACE 707
FIXED 3.1 708
FMS_GETDRIVEINFO 709
FMS_GETFILESEL 709
FMS_LOAD 710
GLOBALENTRY 3.1 710
GLYPHMETRICS 3.1 712
GLOBALINFO 712
HANDLETABLE 713
HARDWAREHOOKSTRUCT 3.1 713
HSZPAIR 3.1 714
LOCALENTRY 3.1 714
LOCALINFO 716
LOGBRUSH 716
LOGFONT 717
LOGPALETTE 720
LOGPEN 720
MAT2 3.1 721
MDICREATESTRUCT 721
MEASURETTEMSTRUCT 722
MEMMANINFO 3.1 723
MENUITEMTEMPLATE 723
MENUITEMTEMPLATEHEADER 724
METAFILEPICT 724
METAHEADER 3.1 725
METARECORD 3.1 725
MINMAXINFO 3.1 726
MODULEENTRY 3.1 726
MONCBSTRUCT 3.1 727
MONCONVSTRUCT 3.1 728
MONERRSTRUCT 3.1 728
MONHSZSTRUCT 3.1 729
MONLINKSTRUCT 3.1 730
MONMSGSTRUCT 3.1 730
MOUSEHOOKSTRUCT 3.1 731
MSG 731
MULTIKEYHELP 732
NCCALCSIZE PARAMS 3.1 732
NEWCPLINFO 3.1 733
NEWTEXTMETRIC 3.1 733
NFYLOADSEG 3.1 736
NFYLOGERROR 3.1 736
NFYRIP 3.1 737
NFYLOGPARAMERROR 3.1 737
OFSTRUCT 738
NFYSTARTDLL 3.1 738
OLECLIENT 3.1 739
OLECLIENTVTBL 739
OLEOBJECT 740
OLEOBJECTVTBL 740
OLESERVER 3.1 741
OLESERVERDOC 3.1 742
OLESERVERDOCVTBL 3.1 742
OLESERVERVTBL 3.1 743
OLETARGETDEVICE 3.1 744
OLESTREAM 3.1 744
OLESTREAMVTBL 3.1 744
OPENFILENAME 3.1 745
OUTLINETEXTMETRIC 3.1 747
PAINTSTRUCT 749
PALETTEENTRY 749
PANOSE 3.1 750
POINT 753
POINTIFX 3.1 754
POINTDLG 3.1 754
RASTERIZER STATUS 3.1 756
RGBQUAD 758
RECT 758
RGBTRIPLE 759
SEGINFO 3.1 759
SIZE 760
STACKTRACEENTRY 3.1 760
String 3.1 761
StringFileInfo 3.1 761
StringTable 3.1 762
TASKENTRY 3.1 764
SYSHEAPINFO 3.1 764
TEXTMETRIC 765
TIMERINFO 3.1 767
TTPOLYCURVE 3.1 768
TTPOLYGONHEADER 3.1 768
Var 3.1 769
VarFilelnfo 3.1 769
VS FIXEDFILEINFO 3.31 769
VS VERSION INFO 3.1 771
WNDCLASS 771
WINDOWPOS 3.1 773
WINDOWPLACEMENT 3.1 773
应用程序执行函数 775
原子函数 775
位图函数 775
插字符函数 776
裁剪板函数 776
裁剪函数 776
通用对话函数 776
光标函数 777
坐标函数 777
颜色调色板函数 777
通信函数 777
DDE函数 778
调试函数 778
设备描述表函数 778
对话框函数 778
附录A Windows函数分类 779
显示和移动函数 779
拖拉函数 779
绘制属性函数 779
绘制工具函数 779
错误函数 780
文件输入/输出函数 780
椭圆和多边形函数 780
环境函数 780
字体函数 781
硬件函数 781
钩子函数 781
图符函数 781
信息函数 782
初始化文件函数 782
输入函数 782
可安装驱动器函数 782
映射函数 783
内存管理函数 783
线输出函数 783
Lempel Ziv扩展函数 783
菜单函数 784
消息函数 784
元文件函数 785
模块管理函数 785
网络函数 785
OLE函数 785
操作系统中断函数 786
优化工具函数 786
特征函数 787
打印机控制函数 787
绘制函数 787
矩形函数 788
区域函数 788
登记函数 788
资源管理函数 789
滚动函数 789
段函数 789
Shell函数 789
压缩函数 789
文本处理函数 790
任务函数 790
系统函数 790
字符串处理函数 790
帮助工具函数 791
TrueType函数 791
版本函数 791
Windows创建函数 791
Windows宏/实用程序函数 792
附录B Windows函数快速参考指南 793
附录C Windows消息快速参考指南 813
附录D Microsoft C运行库函数快速参考 823
附录E Microsoft C命令行编译程序选择 831
附录F Microsoft分段执行连接程序选择项 835