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 / d3dex2 / readme.txt < prev    next >
Text File  |  1997-07-14  |  938b  |  25 lines

  1. this is a version of d3dex1 that demonstrates how a windowed direct draw
  2. app can/should handle multiple monitors. 
  3.  
  4. files:
  5.     d3dex2.cpp      - about the same as the original d3dex1
  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.     ddmm.cpp        - generic directdraw multimonitor helper routines.
  17.  
  18.                       DirectDrawCreateFromDevice
  19.                       DirectDrawCreateFromWindow
  20.                       DirectDrawDeviceFromWindow
  21.  
  22.     multimon.h      - stub multimon functions that use GetProcAddress
  23.                       used by ddmm.cpp, so it can still run on
  24.                       Win95 or NT4
  25.