Page 130 - DCAP408_WEB_PROGRAMMING
P. 130

Windows Programming




                    Notes          5.  Illustrate the function of WM_CHAR message. Also discuss the parameters.
                                   6.  TranslateMessage  produces  the WM_DEADCHAR  message  when  it  processes  the
                                       WM_KEYDOWN message from a dead key. Comment.

                                   7.  Explain how to implement a Simple Keyboard Interface.
                                   8.  What are stock fonts? Also discuss using logical fonts with example.
                                   9.  Define text metric. Also illustrate the various members used in this structure.
                                   10.  Explain the concept of Keyboard Accelerators. Also illustrate the use of TranslateAccelerator
                                       function.

                                   Answers: Self  Assessment

                                   1.  ANSI Character set                2.   LOWER
                                   3.  INSTR                             4.   INSTR
                                   5.  WM_CHAR                           6.   wParam

                                   7.  dead                              8.   KeyPreview
                                   9.  fg_fontload()                     10.  logical
                                   11.  fg_logfont()                     12.  Text Metric

                                   13.  tmUnderlined                     14.  copy
                                   15.  accelerator                      16.  TranslateAccelerator

                                   7.15 Further Readings




                                   Books       Brent E. Rector, Win32 Programming, Addison-Wesley
                                               Charles Petzold, Programming Windows, Charles Petzold
                                               Roger Mayne,  Windows and Graphics Programming with Visual C++.NET, World
                                               Scientific



                                   Online link  unicode.org/faq/font_keyboard.html
























          124                               LOVELY PROFESSIONAL UNIVERSITY
   125   126   127   128   129   130   131   132   133   134   135