home *** CD-ROM | disk | FTP | other *** search
-
- General Information and Feedback
- --------------------------------
-
- Microsoft considers strong developer support a top priority,
- and we want to provide you with high quality technical information
- in a timely manner. We're working on writing additional articles,
- so you can plan on seeing more from us in the future. In the meantime,
- you can greatly help us by giving feedback - both positive and
- negative - on these articles. Feel free to comment in any way, but,
- if you like, you can use the following questions as a guideline.
- With your input, Microsoft will be able to better respond to your
- information needs.
-
- Please send us your comments via CompuServe Mail to:
-
- >INTERNET:y-winote@microsoft.com
-
- Some general questions we have for you:
-
- 1. Did each article cover its topic in enough detail? Was it too detailed?
-
- 2. Did you find the articles to be well-written? Was the information clearly
- presented?
-
- 3. Did the articles provide you with any useful technical information that you
- can apply directly to your programming work?
-
- 4. Did you find the Windows Write file format convenient to use? Would you
- prefer the articles to be in a different file format?
-
- 5. Is there anything specific that Microsoft can do to make these articles more
- valuable to you as a developer?
-
- 6. What other topics would you like to see covered in a similar fashion?
-
-
-
- Extracting Files
- ----------------
-
- The file TECHNOTE.ZIP contains 5 technotes and 2 sample applications. When
- extracting the files, use the command:
-
- pkunzip -d technote.zip
-
- This will extract the technotes and create 2 directories for the sample
- applications.
-
- The technotes are in Windows Write format.
-
- The following are short abstracts for each technote and sample
- applications.
-
-
-
- DIB.WRI - "DIBs and Their Use"
- ------------------------------
-
- This article discusses the DIB (device-independent bitmap) concept
- from definition and structure to the API that uses it. Included is sample
- code that illustrates some of the most common methods of using DIBs to
- display and manipulate digital images. Functions discussed are GetDIBits,
- SetDIBits, CreateDIBitmap, SetDIBitsToDevice, StretchDIBits, and
- CreateDIBPatternBrush. This article does not discuss using palettes
- with DIBs.
-
-
-
- TIMER.WRI - "Timers and Timing in Microsoft Windows"
- ----------------------------------------------------
-
- This article covers the following aspects of timers and timing in the
- Microsoft Windows graphical environment:
-
- How Windows applications set up and use timers to perform an
- operation periodically
-
- Limitations of timers
-
- Creating and destroying timers using the SetTimer and KillTimer
- functions
-
- How timer events are detected, recorded, and dispatched internal
- to Windows
-
- How Standard and Enhanced modes affect timers and timing
-
- How TOOLHELP.DLL can be useful to timers
-
- Description of the INT 2Fh interface to the virtual timer driver
- (VTD.386)
-
-
-
- MTI.WRI - "Modules, Instances, and Tasks"
- -----------------------------------------
-
- This article discusses modules, instances, and tasks. It covers the
- following topics:
-
- Definitions of module, instance, and task handles
-
- Microsoftr WindowsTM functions that deal with these handles
-
- Exporting and the MakeProcInstance function
-
- Task switching and yielding
-
-
-
- METAFILE.WRI - "Metafiles"
- --------------------------
-
- This article provides an overview of metafiles, their creation, and their use. All metafile functions are
- discussed:
-
- CloseMetaFile
- CopyMetaFile
- CreateMetaFile
- DeleteMetaFile
- EnumMetaFile
- GetMetaFile
- GetMetaFileBits
- PlayMetaFile
- PlayMetaFileRecord
- SetMetaFileBits
-
-
-
- SUBCLASS.WRI - "Safe Subclassing"
- ---------------------------------
-
- This article describes subclassing, how it is done, and the rules that
- should be followed to make subclassing safe. Both instance and global
- subclassing are covered. Superclassing is described as an alternative to
- global subclassing.
-
-
-
- TIMERS\*.* - Timers sample application
- --------------------------------------
-
- The TIMERS sample application demonstrates how to create and terminate
- application timers and how to change the rate of an existing timer.
-
- On menu commands, the application will create a timer that can
- either dispatch a WM_TIMER message to a window procedure or call a
- callback function. The timer can be set to run at one of three speeds.
- The sample also demonstrates calling the Toolhelp.dll timer services.
-
- Depending on when menu option is selected, the TIMER application will
- display either the number of WM_TIMER messages sent to the windows
- procedure or the number of times the callback function was called. Both
- methods will call the Toolhelp.dll timer services to display the number
- of milliseconds since the start of the application and the start of the
- current VM.
-
-
-
- DIBIT\*.* - DIB sample application
- ----------------------------------
-
- The DIBIT sample application loads a DIB from a file, displays the
- DIB in the client area, and saves the DIB to a file. The sample can
- also stretch the DIB to fit the current client area.
-
- DIBIT uses the DIB functions SetDIBits, SetDIBitsToDevice, and
- StretchDIBits to display the DIB on screen. The DIB can be displayed
- using palette-relative RGBs or palette indices.
-
- The DIBIT sample application is easy to use. The File menu allows
- the DIB to be loaded and saved. The Options menu allows selection
- of the Window's functions SetDIBits, SetDIBitsToDevice, and StretchDIBits
- to display the DIB. Selecting the menu options under the Palette menu, the
- DIB can be displayed using palette-relative RGBs or palette indices.
-
-