MachineName, 742
Macros
alternatives to, 41
commands, creating, 42
defined, 39
Macro Explorer, 14, 40
Macros submenu, 38–41
placing on toolbars/menus, 42
predefined samples, 40
temporary, 40
MainMenuStrip, 1013
Main subroutine, 110
Make Equal, 35
MakeKeyAndIV, 842–43
MakeNewBitmap, 644–46
Make Same Size, 35
MakeTransparent, 640
Managed heap, defined, 460
MapRectangles, 574–77
Margins
AllowMargins, 954
booklets, printing, 663–69
gutters, 662–63
MarginBounds, 662
MinMargins, 955
System.Drawing.Printing, 553
Mask, 940
MaskedTextBox, 264, 270, 938–41
characters, listing of, 939
events, 941
properties, 940
Matrix
graphical transformations, 567–79
System.Drawing.Drawing2D, 546
Transform, 563
MaximizeBox, 1013
MaximumSize, 1013
MaxLength, 348
MdiChildActivate, 1019
MdiChildren, 1013
MdiParent, 1013
MeasureCharacterRanges, 562, 628–30
MeasureString
Graphics object, 562
printing, 664
Text, 627–30
MeasureTrailingSpaces, 620
Memory
management and stacks, 523
stack and heap, 453
structures, requirements, 450–53
WorkingSet, 743
Menus
commands in toolbars, 9, 52
macros, placing on, 42
MainMenuStrip, 1013
MenuStrip, 264, 272, 941–43
New Menu, 42
properties, listing of, 940
remove commands, 42
Text Only, 44
See also Integrated development environment (IDE) menus;
Context menus
MergableProperty, 192
Merge, 341
Messages
AddMessageFilter, 764
DoEvents, 764
incompatible data types message, 20–21
InfoMessage, 327
Message exception object, 244
MessageLoop, 764
MessageQueue, 264, 765, 943
RemoveMessageFilter, 765
Run, 765
Windows Communication Foundation (WCF), 824–25
Metadata, Load Metadata File, 47
Metafile, 651–54
AddMetafileComment, 561
bitmaps, saving to, 642
building, 652–54
defined, 544, 651
EnumerateMetafile, 561, 652
file formats, 642
GetMetafileHeader, 652, 1040
MetafileHeader, 549
MetaHeader, 549
PlayRecord, 652, 1040
System.Drawing, 544
System.Drawing.Imaging, 549
WmfPlaceableFileHeader, 549
Methods
control methods, listing of, 865–67
defined, 425, 466
find and replace, 12
functions of, 94
hiding, 379–80
IntelliSense functions, 60–61
invoking at runtime, 94
Next Method, 13
Previous Method, 13
shared, 475–77
Visual Basic, listing of, 1086–87
Microsoft Access, 312
Microsoft Consulting Services, on naming conventions, 170
Microsoft Data Engine (MSDE), 322
Microsoft Document Explorer, windows, rearranging, 53
Microsoft namespace, second-level namespaces, 834
Microsoft Office Keyboard Settings, 46
Microsoft Power Packs
GotDotNet, 1007
Interops Forms Toolkit, 1006
printer compatibility library, 1005–6
Microsoft Word, projects opened in, 4
Middle, Align submenu, 34
MinimizeBox, 1013
MinimumCapacity, 342
Miter, LineJoin, 547
MkDir, 784
Modal, 283, 1013
Modules
namespaces, 487–88
scope, 158
statements, 110–11
window, information in, 30
Modulus operator (Mod), 172, 177
MonthCalendar, 264, 269
methods, 946–47
properties, 944
Most Recently Used (MRU) list, 299–305
building, 300–305
purpose of, 299
Mouse
Capture, 1010
cursor, forms display, 284–85, 1011
event sequences, 870–71
MouseDown, 1020
MouseEnter, 1020
MouseHover, 1020
MouseLeave, 1020
MouseMove, 1020
MouseWheel, 1020
My.Computer.Mouse, 1068
See also Click
Move
Directory, 788
event sequences, 871
File, 790
Form, 1021
MouseMove, 1020
MoveDirectory, 801
MoveFile, 801
MoveItem, 397–98, 401
MoveTo, 793, 794
Move Up, Move Down, 55
MruList, 304
Multimedia, Direct3D, 850–57
Multiple-document interface (MDI), 46, 292–99, 1012
ActiveMdiChild, 1009
child forms, 292, 295–98, 1012, 1013
containers, 292, 294, 1012
events, 297–98
examples of, 293
LayoutMdi, 1016
MdiChildActivate, 1019
parent forms, 292, 296, 1013
compared to SDI, 298–99
Multiple inheritance, 447
Multiplication operator (*), 171, 177
MultiplyTransform
Graphics object, 562
LinearGradientBrush, 596
PathGradientBrush, 601
Pen, 585
TextureBrush, 593
Multithreading, BackgroundWorker, 902–4
Music, My.Music, 802
MustInherit, 194, 443–44, 1023
MustOverride, 194
My, 738–39, 1057
functions of, 738
sections, 739
My.Application, 739
properties/methods/events, 1059–61
MyApplication Events, 240–41
My.Computer, 739
Audio, 1063–64
Clipboard, 1064
System Registry, 744
My.Computer.FileSystem, 799–801
methods, 1099–1101
properties, 1099
My.Computer.FileSystem.SpecialDirectories, 801–2
properties, 1101
My.Computer.Info, properties, 1067
My.Computer.Mouse, properties, 1068
My.Computer.Name, 1068
My.Computer.Network, methods, 1068–69
My.Computer.Registry
properties, 746–48, 1071–72
System Registry, accessing, 745
My.Computer.Screen, 1073–74
My.Documents, 801
My.Forms, 739, 1074
My.Music, 802
My.Pictures, 802
My.Resources, 739, 1075
My.Settings
functions of, 739
properties, 751–52
_MyType constant, 116
My.User, 739
properties/methods, 1075
My.WebServices, 739