Page 108 - DCAP408_WEB_PROGRAMMING
P. 108

Windows Programming                                             Kumar Vishal, Lovely Professional University




                    Notes                 Unit 7: Character Sets, Fonts and the Keyboard


                                     CONTENTS
                                     Objectives
                                     Introduction
                                     7.1  The ANSI Character Set
                                     7.2  Trying the Character Functions
                                          7.2.1  Case Conversion Functions
                                          7.2.2  Character Manipulation Functions
                                     7.3  Keyboard Message Processing
                                     7.4  WM_CHAR Message
                                          7.4.1  Parameters

                                          7.4.2  Return Value
                                     7.5  System Key Messages and Dead Characters
                                     7.6  Implementing a Simple Keyboard Interface
                                     7.7  Selecting a Stock Font
                                     7.8  Using Logical Fonts
                                     7.9  Text Metric
                                          7.9.1  Members
                                     7.10 Putting Fonts to Work
                                          7.10.1  Installing OpenType or TrueType Fonts in Windows
                                          7.10.2  Installing PostScript Type 1 Fonts in WindowsXP or 2000
                                     7.11 Keyboard Accelerators
                                          7.11.1  Accelerator Tables
                                          7.11.2  Accelerator Table Creation
                                          7.11.3  Accelerator Keystroke Assignments

                                          7.11.4  Accelerators and Menus
                                          7.11.5  UI State
                                     7.12 Summary
                                     7.13 Keywords
                                     7.14 Review Questions
                                     7.15 Further Readings

                                   Objectives

                                   After studying this unit, you will be able to:
                                      Understand the concept of the ANSI Character Font and trying character functions
                                      Discuss keyboard message processing
                                      Illustrate WM_CHAR message




          102                               LOVELY PROFESSIONAL UNIVERSITY
   103   104   105   106   107   108   109   110   111   112   113