Cover image for SAMS teach yourself MFC in 24 hours
Title:
SAMS teach yourself MFC in 24 hours
Author:
Morrison, Michael, 1970-
Personal Author:
Publication Information:
Indianapolis, Ind. : SAMS, [1999]

©1999
Physical Description:
xiv, 510 pages : illustrations ; 24 cm
Language:
English
ISBN:
9780672315534
Format :
Book

Available:*

Library
Call Number
Material Type
Home Location
Status
Central Library QA76.6 .M67 1999 Adult Non-Fiction Central Closed Stacks
Searching...

On Order

Summary

Summary

Your hands-on guide to macro and close-up photography

Macro photography is the art of using specialty lenses and advanced cameras to capture stunning up-close images. Macro photography can be applied to a variety of objects, but nature settings and living things are the most commonly photographed subjects.

Digital Macro & Close-up Photography For Dummies helps amateur photographers master macro techniques and capture brilliant shots of the world up-close and personal. Covers camera equipment and accessories that can be used to perfect professional-looking close-ups Tips for exposure and lighting techniques in the macro format Suggested exercises to practice your skills

With full-color examples and technique comparisons, Digital Macro & Close-up Photography For Dummies gives you easy-to-follow, step-by-step guidance for taking your close-up photography skills to the next level!


Table of Contents

Introductionp. 1
Hour 1 Welcome to MFCp. 3
Win32 Basicsp. 3
Windowsp. 4
Window Procedures, Events, and Messagesp. 5
Strange Data Typesp. 6
The WinMain () Functionp. 7
The MFC Alternativep. 7
A Skeletal MFC Applicationp. 8
The Application Objectp. 11
The Main Frame Windowp. 13
Application Resourcesp. 16
Hour 2 Building MFC Applicationsp. 21
Document-Centric Applicationsp. 22
The Structure of an MFC Applicationp. 23
Inside the Application Objectp. 24
Modeling Data with Documentsp. 25
Looking at Data with Viewsp. 26
MFC Naming Conventionsp. 26
The Skeleton Application Revisitedp. 28
The Document Objectp. 28
The View Objectp. 32
Other Document/View Changesp. 35
Hour 3 Creating and Using Application Resourcesp. 41
Understanding the Role of Resourcesp. 42
Types of Resourcesp. 44
Defining Resources in a Resource Scriptp. 45
Acceleratorsp. 45
Bitmapsp. 46
Cursorsp. 46
Iconsp. 47
Menusp. 47
Dialog Boxesp. 49
String Tablesp. 50
Version Resourcesp. 51
Using Resources in an Applicationp. 51
Hour 4 Interacting with the Userp. 59
The Importance of User Inputp. 59
Working with Message Mapsp. 60
Using Message Map Macrosp. 61
Writing Message Handlersp. 62
Handling User Input Messagesp. 63
Keyboard Messaging Basicsp. 64
Handling Keyboard Messagesp. 66
Mouse Messaging Basicsp. 67
Handling Mouse Messagesp. 69
Hour 5 Making Use of Controlsp. 75
Understanding Controlsp. 75
Traditional Windows Controlsp. 76
Common Controlsp. 78
Controls and MFCp. 80
Creating Controls with MFCp. 81
Handling Control Notificationsp. 82
ActiveX Controlsp. 85
Putting Controls to Workp. 86
Hour 6 Using Common Dialog Boxesp. 97
Origins of Common Dialog Boxesp. 98
Exploring the Common Dialog Boxesp. 98
MFC Common Dialog Box Classesp. 99
File Open and File Save Asp. 100
Color Selectionp. 101
Font Selectionp. 102
Find Text and Replace Textp. 103
Page Setupp. 104
Printp. 105
Using Common Dialog Boxesp. 105
Opening Filesp. 107
Selecting Colorp. 109
Hour 7 Retrieving Information with Custom Dialog Boxesp. 113
Using Message Boxesp. 114
Modal and Modeless Dialog Boxesp. 115
MFC Dialog Box Supportp. 117
Dialog Box Datap. 117
Dialog Box Messagingp. 118
Creating a CDialog Objectp. 118
Dialog Box Resourcesp. 118
Building Simple Dialog Boxesp. 120
Creating the Dialog Box Resourcep. 121
Creating the Dialog Box Classp. 123
Invoking the Dialog Boxp. 126
Hour 8 Manipulating Menusp. 131
Responding to Menu Eventsp. 132
Analyzing the System Menup. 132
Obtaining a System Menu Objectp. 133
Adding a System Menu Itemp. 133
Dynamically Modifying Menusp. 134
Getting Menus and Pop-up Menusp. 135
Adding Menu Itemsp. 135
Dynamic Menus and Animator3p. 136
Using Floating Pop-up Menusp. 140
Updating Menusp. 142
MFC's Command Update Message Handlersp. 142
Updating the Animator3 Menup. 143
Hour 9 Drawing Graphicsp. 149
Graphics Fundamentalsp. 149
The Importance of Device Contextsp. 150
Basic Graphics Componentsp. 151
The Windows Graphics Coordinate Systemp. 152
Understanding Colorp. 153
GDI and MFCp. 155
Painting Windowsp. 156
Drawing Graphics Primitivesp. 157
Linesp. 157
Rectanglesp. 158
Ellipsesp. 159
Drawing Textp. 160
Drawing Bitmapsp. 161
Loading a Bitmapp. 162
Painting a Bitmapp. 162
Putting It All Togetherp. 163
Hour 10 Managing Data with MFCp. 173
Getting a Handle on Data Structuresp. 174
MFC's Data Classesp. 175
Basic Data Structuresp. 175
Data Collectionsp. 176
Support Classesp. 177
A Serialization Primerp. 178
Working with Stringsp. 179
Creating Stringsp. 179
Accessing String Charactersp. 180
Concatenating Stringsp. 181
Comparing Stringsp. 181
Strings and Char Pointersp. 182
Working with Timep. 182
Hour 11 Organizing Data with MFC's Collection Classesp. 187
Revisiting the MFC Collection Classesp. 188
Arrayp. 188
Listp. 189
Mapp. 189
Choosing Collectionsp. 190
Using the Collection Classesp. 191
Putting Arrays to Workp. 192
CArrayp. 192
CTypedPtrArrayp. 194
Organizing Data into Listsp. 194
CListp. 195
CTypedPtrListp. 196
Mapping Datap. 197
CMapp. 197
CTypedPtrMapp. 199
Enhancing the Doodle Applicationp. 199
Hour 12 Managing Application Data with Documentsp. 207
Document Basicsp. 208
MFC's Document Supportp. 209
Documents and Serializationp. 210
Creating Documentsp. 212
Applying Documents to Doodlep. 212
The Main Frame Window and Application Objectp. 212
Application Resourcesp. 215
The Document Classp. 217
Serializing the CGraphic Classp. 221
What's Missing?p. 225
Hour 13 Viewing Application Datap. 227
Understanding Viewsp. 227
Printing and Viewsp. 228
View Windowsp. 229
MFC's View Supportp. 229
Creating Viewsp. 232
Adding a View to Doodlep. 232
Hour 14 Enhanced User Interfacesp. 241
Optimizing Viewsp. 241
Updating the Viewp. 242
Drawing the Viewp. 244
Scrolling Viewsp. 245
Sizing Up the Documentp. 245
Scrolling the Viewp. 247
Using Multiple Viewsp. 251
Splitting the Viewsp. 251
An Alternative View for Doodlep. 253
Hour 15 Utilizing Control Barsp. 261
Understanding Control Barsp. 261
Using Toolbarsp. 264
Using Status Barsp. 266
Showing and Hiding Control Barsp. 269
Working with ToolTipsp. 270
Hour 16 Managing Multiple Documentsp. 275
MDI Fundamentalsp. 276
Inside MDI Applicationsp. 278
A Template for Multiple Documentsp. 279
Framing an MDI Applicationp. 279
The MDI Client Windowp. 279
Child Document Windowsp. 280
Menus and MDI Applicationsp. 280
Building an MDI Applicationp. 280
Resourcesp. 281
The Applicationp. 284
The Main Frame Windowp. 287
Hour 17 Inside Printingp. 293
Printing Basicsp. 293
MFC's Support for Printingp. 294
Printing in the Viewp. 295
The PrintInfo Objectp. 297
Standard Print Commandsp. 298
Printing and GDI Mapping Modesp. 299
Printing Doodle Documentsp. 301
Resourcesp. 301
The Applicationp. 304
The Viewp. 304
The Documentp. 310
The Document's Final Stagesp. 311
Hour 18 Accessing Databases with DAOp. 317
Databases and MFCp. 318
The DAO Object Modelp. 319
The DBEngine Objectp. 319
The Workspace Objectp. 320
The Database Objectp. 320
Internal Database Objectsp. 320
The MFC DAO Classesp. 320
MFC, DAO, and Form-Based Applicationsp. 321
Creating a Custom Record Set Classp. 322
The Document and Viewp. 323
Building a Database Applicationp. 324
Resourcesp. 325
Database Supportp. 329
The Documentp. 337
The Viewp. 340
Hour 19 ADO and the Future of Databasesp. 351
Getting a Handle on the Big Picturep. 352
VBSQLp. 352
ODBCp. 353
DAOp. 353
RDOp. 353
OLE DBp. 354
ADOp. 354
The Benefits of ADOp. 354
Digging into ADO Objectsp. 355
The ADO Data Controlp. 357
ADO and MFCp. 358
Hour 20 Connecting to the Webp. 361
Understanding Web-Enabled Applicationsp. 361
The WebBrowser Controlp. 363
An HTML Viewp. 364
Using the CHtmlView Classp. 364
For Internet Explorer Onlyp. 366
Building a Simple Web Browserp. 366
Resourcesp. 367
The Viewp. 369
Hour 21 Multimedia and DirectXp. 377
Multimedia Basicsp. 378
What Is DirectX?p. 378
DirectX Foundationp. 379
DirectX Mediap. 380
The DirectX Media Player Controlp. 381
MFC and the Media Player Controlp. 383
Using the Media Player Controlp. 384
Resourcesp. 385
The Applicationp. 389
The Main Windowp. 391
Hour 22 Creating DLLsp. 399
DLL Fundamentalsp. 399
To Dynamically Link or Notp. 402
DLL Mechanicsp. 403
Managing DLLs with DLLMain ()p. 404
Creating an MFC Extension DLLp. 405
Using an MFC Extension DLLp. 411
Hour 23 Creating Custom Controlsp. 415
When Standard Controls Aren't Enoughp. 416
Deriving from an Existing Controlp. 417
Creating a Control from Scratchp. 420
Testing Controlsp. 423
Hour 24 Creating Wizardsp. 431
Simplifying Tasks with Wizardsp. 431
Property Sheets, Property Pages, and Wizardsp. 433
MFC's Support for Property Sheets and Wizardsp. 435
The CPropertySheet Classp. 435
The CPropertyPage Classp. 437
Creating a Simple Wizardp. 438
The Resourcesp. 439
The Wizard Datap. 444
The Wizard Pagesp. 445
The Wizardp. 450
Testing the Investment Wizardp. 452
Appendix A Quiz Answersp. 455
Appendix B MFC Information Resourcesp. 477
Online Resourcesp. 478
Periodicalsp. 478
Appendix C MFC and Visual Development Toolsp. 481

Google Preview