CONTENTS
Professional Windows 7 Development Guide
Published by
Wiley Publishing, Inc.
10475 Crosspoint Boulevard
Indianapolis, IN 46256
www.wiley.com
Copyright 2011 by Wiley Publishing, Inc., Indianapolis, Indiana
Published simultaneously in Canada
ISBN: 978-0-470-88570-3
ISBN: 978-1-118-05795-7 (ebk)
ISBN: 978-1-118-05794-0 (ebk)
ISBN: 978-1-118-05793-3 (ebk)
No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 646-8600. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 111 River Street, Hoboken, NJ 07030, (201) 748-6011, fax (201) 748-6008, or online at http://www.wiley.com/go/permissions .
Limit of Liability/Disclaimer of Warranty: The publisher and the author make no representations or warranties with respect to the accuracy or completeness of the contents of this work and specifically disclaim all warranties, including without limitation warranties of fitness for a particular purpose. No warranty may be created or extended by sales or promotional materials. The advice and strategies contained herein may not be suitable for every situation. This work is sold with the understanding that the publisher is not engaged in rendering legal, accounting, or other professional services. If professional assistance is required, the services of a competent professional person should be sought. Neither the publisher nor the author shall be liable for damages arising herefrom. The fact that an organization or Web site is referred to in this work as a citation and/or a potential source of further information does not mean that the author or the publisher endorses the information the organization or website may provide or recommendations it may make. Further, readers should be aware that Internet websites listed in this work may have changed or disappeared between when this work was written and when it is read.
For general information on our other products and services please contact our Customer Care Department within the United States at (877) 762-2974, outside the United States at (317) 572-3993 or fax (317) 572-4002.
Wiley also publishes its books in a variety of electronic formats. Some content that appears in print may not be available in electronic books.
Library of Congress Control Number: 2010942183
Trademarks: Wiley and the Wiley logo are trademarks or registered trademarks of John Wiley & Sons, Inc. and/or its affiliates, in the United States and other countries, and may not be used without written permission. Windows is a registered trademark of Microsoft Corporation in the United States and/or other countries. All other trademarks are the property of their respective owners. Wiley Publishing, Inc. is not associated with any product or vendor mentioned in this book.
This book is dedicated to the newest member of our family, Shelby. Shes already warmed our hearts and given us a great deal of joy.
ABOUT THE AUTHOR
John Mueller is a freelance author and technical editor. He has writing in his blood, having produced 87 books and over 300 articles to date. The topics range from networking to artificial intelligence and from database management to heads-down programming. Some of his current books include a Windows command line reference, books on VBA and Visio 2007, a C# design and development manual, and an IronPython programmers guide. His technical editing skills have helped over 52 authors refine the content of their manuscripts. John has provided technical editing services to both Data Based Advisor and Coast Compute magazines. Hes also contributed articles to magazines like DevSource , InformIT , SQL Server Professional , Visual C++ Developer , Hard Core Visual Basic , asp.netPRO , Software Test & Performance , and Visual Basic Developer .
When John isnt working at the computer, you can find him in his workshop. Hes an avid woodworker and candle maker. On any given afternoon, you can find him working at a lathe or putting the finishing touches on a bookcase. He also likes making glycerin soap and candles, which come in handy for gift baskets. You can reach John on the Internet at . Feel free to look and make suggestions on how he can improve it.
ABOUT THE TECHNICAL EDITOR
Russ Mullen has been consulting and programming for more years than he cares to remember. He has tech-edited more than 70 books, ghost-written chapters, and co-authored several books.
CREDITS
ACQUISITIONS EDITOR
Paul Reese
PROJECT EDITOR
William Bridges
TECHNICAL EDITOR
Russ Mullen
PRODUCTION EDITOR
Daniel Scribner
COPY EDITOR
William Bridges
EDITORIAL DIRECTOR
Robyn B. Siesky
EDITORIAL MANAGER
Mary Beth Wakefield
FREELANCER EDITORIAL MANAGER
Rosemarie Graham
ASSOCIATE DIRECTOR OF MARKETING
David Mayhew
PRODUCTION MANAGER
Tim Tate
VICE PRESIDENT AND EXECUTIVE GROUP PUBLISHER
Richard Swadley
VICE PRESIDENT AND EXECUTIVE PUBLISHER
Barry Pruett
ASSOCIATE PUBLISHER
Jim Minatel
PROJECT COORDINATOR, COVER
Katherine Crocker
PROOFREADER
Paul Sagan, Word One
INDEXER
Robert Swanson
COVER DESIGNER
LeAndra Young
COVER IMAGE
iStock / Rubberball
ACKNOWLEDGMENTS
Thanks to my wife, Rebecca, for working with me to get this book completed. I really dont know what I would have done without her help in researching and compiling some of the information that appears in this book. She also did a fine job of proofreading my rough draft and page-proofing the result. Rebecca also keeps the house running while Im buried in work.
Russ Mullen deserves thanks for his technical edit of this book. He greatly added to the accuracy and depth of the material you see here, especially of some of the more difficult source code. Russ is always providing me with great URLs for new products and ideas. However, its the testing Russ does that helps most. Hes the sanity check for my work. Russ also has different computer equipment from mine, so hes able to point out flaws that I might not otherwise notice.
Matt Wagner, my agent, deserves credit for helping me get the contract in the first place and taking care of all the details that most authors dont really consider. I always appreciate his assistance. Its good to know that someone wants to help.
A number of people read all or part of this book to help me refine the approach, test the coding examples, and generally provide input that all readers wish they could have. These unpaid volunteers helped in ways too numerous to mention here. I especially appreciate the efforts of Eva Beattie and Osvaldo Tllez Almirall, who provided general input, read the entire book, and selflessly devoted themselves to this project.
Finally, I would like to thank Paul Reese, William Bridges, Dan Scribner, and the rest of the editorial and production staff at Wrox for their assistance in bringing this book to print. Its always nice to work with such a great group of professionals, and I very much appreciate the friendship weve built over the last few years.