home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / graphics / directx / stretch3 / readme.txt < prev    next >
Text File  |  1997-07-14  |  1KB  |  29 lines

  1. This is a version of stretch that demonstrates how a windowed DirectDraw
  2. app can/should handle multiple monitors.
  3.  
  4. files:
  5.     stretch.cpp     - about the same as the original stetch
  6.  
  7.                       look at how this app uses the routines
  8.                       in ddmm.cpp
  9.  
  10.                       look at how this app handles WM_MOVE to
  11.                       detect when the window moves monitors.
  12.  
  13.                       look at how it converts from a window
  14.                       client cordinate to a device cordinate
  15.  
  16.                       look at how is shares artwork between 
  17.                       DirectDraw objects
  18.  
  19.     ddmm.cpp        - generic directdraw multimonitor helper routines.
  20.  
  21.                       DirectDrawCreateFromDevice
  22.                       DirectDrawCreateFromWindow
  23.                       DirectDrawDeviceFromWindow
  24.  
  25.     multimon.h      - stub multimon functions that use GetProcAddress
  26.  
  27.                       used by ddmm.cpp, so stretch can still run on
  28.                       Win95 or NT4
  29.