Index
P
P/Invoke, 908
packets, 807–8
Page class, 957–58, 959–62
page footers, 454
page headers, 454
page numbers, role in Windows-based printing, 439
PageLoad event, 960, 966
pages, display vs. printed, 439
Paint event, 934–39
painting, 64. See also drawing
palettesCPalette class, 93
DIBs and, 114–15
Parameter function, 825
parameter maps, 787
ParseCommandLine function, 416–17
patterns, filling, 315, 317, 319
PeekMessage function, 261, 264
pens. See CPen class
persistence, property, 759–60
persistent frame window class. See CPersistentFrame class
physical inches, 98–99
picture properties, 237–38
_pin keyword, 913
Ping program, 819
pixels, 116. See also device coordinates
platform invoke (P/Invoke), 908
POINT structure, 65
pointers. See also smart pointers
in C++, 679–80
vs. embedded objects, 394–96
loading from archive, 396–97
making smart, 681–82
as .NET type, 899
points. See also device coordinates
determining whether inside ellipses, 66–70
determining whether inside rectangles, 65
polymorphism. See inheritance
POSITION variable, 370–72
POST requests, 871, 872
PostMessage function, 168, 280
precompiled headers, 46–48
PreCreateWindow function, 335–36
Print dialog box, 437–38
print preview feature, 440, 446–47, 455
printer rectangle, 448–49
printingbatch-mode, 439
device context, 440, 441
display pages vs. printed pages, 439
Document Properties dialog box, 438
multi-page print program, 450–55
Print dialog box, 437–38
print preview feature, 440
programming overview, 440–42
role of page numbers, 439
role of printer rectangle, 448–49
start and end of print jobs, 441–42
Windows-based, 437–39
printing with fonts, 97
private keyword, 913
probing, 902
process spaces, 906–7
processesdefined, 242
memory space, 242–43, 244, 245
virtual memory and, 245–48
processing, on-idle, 263–64
ProcessShellCommand function, 402, 417
ProcessWindowMessage function, 734
programming languages, which to choose for writing .NET code, 910–12
programs, ways to run, 48
progress control, 178, 183
projects. See also wizards
basic project files, 278
defined, 8
how wizards work, 50–51
list of Visual C++ .NET file types, 9
precompiled headers, 46–48
Project.vsdir file, 52
Project.vsz file, 52
prompts, 279, 294
PROP_DATA_ENTRY macro, 753, 754, 755
PROP_ENTRY macro, 753, 754, 755
PROP_ENTRY_EX macro, 753, 754, 755
propertiesadding to ActiveX controls, 743–46
bindable, 238–39
for calendar control, 216
defined, 213
indexed, 575–76
persistence, 759–60
role in ActiveX controls, 743, ch25
in VBA, 575–76
_property keyword, 913
property maps, 753–55
property pagesadding to ActiveX controls, 748–52
Apply button, 758–59
development tools, 755–56
generating lists, 753–55
how they're used, 746–48
illustration of architecture, 752
overview, 746
vs. property sheets, 292
showing, 756–58
property sheetscreating, 292
exchanging data, 292–93
vs. property pages, 292
PROP_PAGE macro, 753, 754, 755
protected keyword, 913
protocolsDomain Name System (DNS), 812–14
File Transfer Protocol (FTP), 817
Hypertext Transfer Protocol (HTTP), 814–17
Internet Protocol (IP), 807–8
and layering, 806–7
Transmission Control Protocol (TCP), 810–12
User Datagram Protocol (UDP), 808–9
providers, OLE DBcreating, 788–97
enhancing, 797
how they work, 782
modifying code, 795–97
overview, 772–73
template architecture, 777–82
proxies, 556
proxy servers, 837–38
PtInRect function, 65, 66
public keyword, 913
pushbuttons, adding bitmaps to, 130–33
put function, 744
put_ function, 220, 236