home *** CD-ROM | disk | FTP | other *** search
/ Black Box 4 / BlackBox.cdr / w3_info / technote.arj / README.TXT < prev    next >
Encoding:
Text File  |  1992-02-10  |  5.7 KB  |  178 lines

  1.  
  2. General Information and Feedback
  3. --------------------------------
  4.  
  5. Microsoft considers strong developer support a top priority, 
  6. and we want to provide you with high quality technical information 
  7. in a timely manner.  We're working on writing additional articles, 
  8. so you can plan on seeing more from us in the future.  In the meantime, 
  9. you can greatly help us by giving feedback - both positive and 
  10. negative - on these articles.  Feel free to comment in any way, but, 
  11. if you like, you can use the following questions as a guideline.  
  12. With your input, Microsoft will be able to better respond to your 
  13. information needs.
  14.  
  15. Please send us your comments via CompuServe Mail to:
  16.  
  17.     >INTERNET:y-winote@microsoft.com
  18.  
  19. Some general questions we have for you:
  20.  
  21. 1. Did each article cover its topic in enough detail?  Was it too detailed?
  22.  
  23. 2. Did you find the articles to be well-written?  Was the information clearly
  24. presented?
  25.  
  26. 3. Did the articles provide you with any useful technical information that you 
  27. can apply directly to your programming work?
  28.  
  29. 4. Did you find the Windows Write file format convenient to use?  Would you 
  30. prefer the articles to be in a different file format?
  31.  
  32. 5. Is there anything specific that Microsoft can do to make these articles more 
  33. valuable to you as a developer?
  34.  
  35. 6. What other topics would you like to see covered in a similar fashion?
  36.  
  37.  
  38.  
  39. Extracting Files
  40. ----------------
  41.  
  42. The file TECHNOTE.ZIP contains 5 technotes and 2 sample applications.  When 
  43. extracting the files, use the command:
  44.  
  45.     pkunzip -d technote.zip
  46.  
  47. This will extract the technotes and create 2 directories for the sample
  48. applications.
  49.  
  50. The technotes are in Windows Write format.
  51.  
  52. The following are short abstracts for each technote and sample
  53. applications.
  54.  
  55.  
  56.  
  57. DIB.WRI - "DIBs and Their Use"
  58. ------------------------------
  59.  
  60. This article discusses the DIB (device-independent bitmap) concept 
  61. from definition and structure to the API that uses it. Included is sample 
  62. code that illustrates some of the most common methods of using DIBs to 
  63. display and manipulate digital images. Functions discussed are GetDIBits, 
  64. SetDIBits, CreateDIBitmap, SetDIBitsToDevice, StretchDIBits, and 
  65. CreateDIBPatternBrush. This article does not discuss using palettes 
  66. with DIBs.
  67.  
  68.  
  69.  
  70. TIMER.WRI - "Timers and Timing in Microsoft Windows"
  71. ----------------------------------------------------
  72.  
  73. This article covers the following aspects of timers and timing in the 
  74. Microsoft Windows graphical environment:
  75.  
  76.     How Windows applications set up and use timers to perform an 
  77.     operation periodically
  78.  
  79.     Limitations of timers
  80.  
  81.     Creating and destroying timers using the SetTimer and KillTimer 
  82.     functions
  83.  
  84.     How timer events are detected, recorded, and dispatched internal 
  85.     to Windows
  86.  
  87.     How Standard and Enhanced modes affect timers and timing 
  88.  
  89.     How TOOLHELP.DLL can be useful to timers
  90.  
  91.     Description of the INT 2Fh interface to the virtual timer driver 
  92.     (VTD.386)
  93.  
  94.  
  95.  
  96. MTI.WRI - "Modules, Instances, and Tasks"
  97. -----------------------------------------
  98.  
  99. This article discusses modules, instances, and tasks. It covers the 
  100. following topics:
  101.  
  102.     Definitions of module, instance, and task handles
  103.  
  104.     Microsoftr WindowsTM functions that deal with these handles
  105.  
  106.     Exporting and the MakeProcInstance function
  107.  
  108.     Task switching and yielding
  109.  
  110.  
  111.  
  112. METAFILE.WRI - "Metafiles"
  113. --------------------------
  114.  
  115. This article provides an overview of metafiles, their creation, and their use. All metafile functions are 
  116. discussed:
  117.  
  118.     CloseMetaFile
  119.     CopyMetaFile
  120.     CreateMetaFile
  121.     DeleteMetaFile
  122.     EnumMetaFile
  123.     GetMetaFile
  124.     GetMetaFileBits
  125.     PlayMetaFile
  126.     PlayMetaFileRecord
  127.     SetMetaFileBits
  128.  
  129.  
  130.  
  131. SUBCLASS.WRI - "Safe Subclassing"
  132. ---------------------------------
  133.  
  134. This article describes subclassing, how it is done, and the rules that 
  135. should be followed to make subclassing safe. Both instance and global 
  136. subclassing are covered. Superclassing is described as an alternative to 
  137. global subclassing.
  138.  
  139.  
  140.  
  141. TIMERS\*.* - Timers sample application
  142. --------------------------------------
  143.  
  144. The TIMERS sample application demonstrates how to create and terminate
  145. application timers and how to change the rate of an existing timer.
  146.  
  147. On menu commands, the application will create a timer that can
  148. either dispatch a WM_TIMER message to a window procedure or call a
  149. callback function. The timer can be set to run at one of three speeds.
  150. The sample also demonstrates calling the Toolhelp.dll timer services.
  151.  
  152. Depending on when menu option is selected, the TIMER application will
  153. display either the number of WM_TIMER messages sent to the windows
  154. procedure or the number of times the callback function was called. Both
  155. methods will call the Toolhelp.dll timer services to display the number
  156. of milliseconds since the start of the application and the start of the
  157. current VM.
  158.  
  159.  
  160.  
  161. DIBIT\*.* - DIB sample application
  162. ----------------------------------
  163.  
  164. The DIBIT sample application loads a DIB from a file, displays the
  165. DIB in the client area, and saves the DIB to a file. The sample can
  166. also stretch the DIB to fit the current client area.
  167.  
  168. DIBIT uses the DIB functions SetDIBits, SetDIBitsToDevice, and
  169. StretchDIBits to display the DIB on screen. The DIB can be displayed
  170. using palette-relative RGBs or palette indices.
  171.  
  172. The DIBIT sample application is easy to use. The File menu allows
  173. the DIB to be loaded and saved. The Options menu allows selection
  174. of the Window's functions SetDIBits, SetDIBitsToDevice, and StretchDIBits
  175. to display the DIB. Selecting the menu options under the Palette menu, the
  176. DIB can be displayed using palette-relative RGBs or palette indices.
  177.  
  178.