Charles Petzold,微軟技術(shù)領(lǐng)域的大師級(jí)專家。他的著作和文章為Wiridows程序設(shè)計(jì)技術(shù)的推廣和普及作出了巨大貢獻(xiàn)。1994年被微軟公司授予“Windows先驅(qū)獎(jiǎng)”,是全球唯一獲此殊榮的技術(shù)作家。他也是資格最老的微軟MVP之一。除本書外,他撰寫的The Annotated Tunng(中文版將由人民郵電出版社出版)和Code等書也是膾炙人口的名著。
圖書目錄
上冊(cè) Section I The Basics Chapter 1 Getting Started The Windows Environment A History of Windows Aspects of Windows Dynamic Linking Windows Programming Options APIs and Memory Models Language Options The Programming Environment API Documentation Your First Windows Program A Character-Mode Model The Windows Equivalent The Header Files Program Entry Point The MessageBox Function Compile, Link, and Run Chapter 2 An Introduction to Unicode A Brief History of Character Sets American Standards The World Beyond Extending ASCII Double-Byte Character Sets Unicode to the Rescue Wide Characters and C The char Data Type Wider Characters Wide-Character Library Functions Maintaining a Single Source Wide Characters and Windows Windows Header File Types The Windows Function Calls Windows?String Functions Using printf in Windows A Formatting Message Box Internationalization and This Book Chapter 3 Windows and Messages A Window of One's Own An Architectural Overview The HELLOWIN Program Thinking Globally Registering the Window Class Creating the Window Displaying the Window The Message Loop The Window Procedure Processing the Messages Playing a Sound File The WM_PAINT Message The WM_DESTROY Message The Windows Programming Hurdles Don’t Call Me, I'll Call You Queued and Nonqueued Messages Get In and Out Fast Chapter 4 An Exercise in Text Output Painting and Repainting The WM_PAINT Message Valid and Invalid Rectangles An Introduction to GDI The Device Context Getting a Device Context Handle: Method One The Paint Information Structure Getting a Device Context Handle: Method Two TextOut: The Details The System Font The Size of a Character Text Metrics: The Details Formatting Text Putting It All Together The SYSMETS1.C Window Procedure Not Enough Room The Size of the Client Area Scroll Bars Scroll Bar Range and Position Scroll Bar Messages Scrolling SYSMETS Structuring Your Program for Painting Building a Better Scroll The Scroll Bar Information Functions How Low Can You Scroll? The New SYSMETS But I Don’t Like to Use the Mouse Chapter 5 Basic Drawing Chapter 6 The Keyboard Chapter 7 The Mouse Chapter 8 The Timer Chapter 9 Child Window Controls Chapter 10 Menus and Other Resources Chapter 11 Dialog Boxes Chapter 12 The Clipboard 下冊(cè)