M
main menus, 111
attaching, 118
MainMenu class, 114
for synchronizing with ToolBar, 247-249
manifest file for Windows XP styles of forms, 163-164
Manual StartPosition value, 148
marquee label, 509-512
Mask property of controls, 297
masked TextBox control, 294-297
master-detail forms, 377-378
DataGrid control for, 381-382
MaxDate propertyof DateTimePicker control, 108
of MonthCalendar control, 110
MaxDropDownItems property for ComboBox control, 100
MaximizeBox property of Form class, 144
maximized MDI child forms, 402
Maximum property of NumericUpDown control, 104
maximum size of form, 172-173
MaxLength propertyof ComboBox control, 100
of TextBox control, 96
MaxSelectionCount property of MonthCalendar control, 110
MDI (Multiple Document Interface) applicationsdockable windows, 429-434
with owner-drawn controls, 429
with timers, 430-434
document-view architecture, 410-424
child form class, 421-422
document class, 412-416
OrderGridView class, 416-418
OrderPrintPreview class, 418-420
parent form class, 422-424
essentials, 400-410
interface state, 408-410
layout, 405-406
merging menus, 407
relatives, 402
synchronizing children, 403-404
floating toolbars, 425-428
and resizable windows, 172
story of, 399-400
types, 400
MdiChildren property of form, 403
MDIMainController, 409
MdiParent property of form, 403
Me keyword, 35
122
measurement units, 485
MeasureString() method of Graphics object, 481
Menu class, 112-113
menu-driven user interface, 7-8
menu items, drawing glyph on, 499
Menu property of Control object, 72
MenuItem class, 300
inheritance from, 127
MenuItems collection of Menu class, 113
menus, 111-122
attaching, 118-119
copying and cloning, 121
hiding or disabling controls based on permissions, 457
merging, 121-122
in MDI applications, 407
of open MDI document windows, 405-406
owner-drawn, 122-130
StatusBar synchronization to, 252-254
structure differences, 454
toolbar synchronization with, 246-249
vs. toolbars, 242
Visual Studio .NET designer, 118
MenuTextProvider, 298-302
MergableProperty control property attribute, 313
MergeMenu() method of MenuItem class, 121-122
MergeOrder property of MenuItem class, 407
MergeStyle property of MenuItem class, 407
MergeType property of MenuItem class, 116
merging menus, 121-122
in MDI applications, 407
merging toolbars, 408
message filters, attaching global, 82
MessageBox class, 165-166
metacharacters for regular expressions, 142
metaphors, 15
in GUI, 8
question-answer user interface and, 5
when segmenting information, 16
MFC framework, 57-58
Microsoftadministrative utilities, 12-13
on custom layout development, 463
standards from, 11
Microsoft Agent Control, 554-559
Microsoft Management Console (MMC), 13
Microsoft Office, Clippy, 553
MinDate propertyof DateTimePicker control, 108
of MonthCalendar control, 110
MinimizeBox property of Form class, 144
minimized MDI child forms, 402
Minimum property of NumericUpDown control, 104
minimum size of form, 172-173
MinSize property of SplitterBar control, 181
MinWidth property of StatusBarPanel object, 251
mistakes by user, restrictions to prevent, 17-18
MMC (Microsoft Management Console), 13
modeless windows, 154
modeling user interface, 1
monitor program, 14
monitor resolutionand form size, 171-172
and window location decisions, 149
MonthCalendar control, 108-110
MonthlyBoldedDates property of MonthCalendar control, 109
mouse, 8
control response to, 75-79
move code for automatic docking, 427
mouse-related methods, overriding, 515-516
MouseDown eventof Control object, 77
of NotifyIcon, 257
MouseEnter event of Control object, 76
MouseHover event of Control object, 76
MouseLeave event of Control object, 76
MouseMove eventof Control object, 77
of NotifyIcon, 257
MouseUp eventof Control object, 77
of NotifyIcon, 257
MouseWheel event of Control object, 76
429
moving shaped forms, 190-192
MS Help 535-536
MSDN web site, 463
MSFlexGrid ActiveX control, 458
MultiColumn property for list controls, 99
Multiline propertyof TabControl, 256
of TextBox control, 95
Multiple Document Interface (MDI) applications. See MDI (Multiple Document Interface) applications
MultiSelect property of ListView control, 211
multithreading, modal windows and, 155
MustInherit keyword, 201