home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Game Programming for Teens / VBGPFT.cdr / DirectX8 / dx8a_sdk.exe / samples / multimedia / vbsamples / directinput / scrawl / readme.txt < prev    next >
Encoding:
Text File  |  2000-09-22  |  1.3 KB  |  40 lines

  1. //-----------------------------------------------------------------------------
  2. // Name: Scrawlb DirectInput Sample
  3. // 
  4. // Copyright (c) 1998-2000 Microsoft Corporation. All rights reserved.
  5. //-----------------------------------------------------------------------------
  6.  
  7.  
  8. Description
  9. ===========
  10.    The Scrawlb sample illustrates the use of DirectInput to create a simple drawing program
  11.    It shows the use of callbacks to recieve mouse movement events
  12.  
  13.    
  14. Path
  15. ====
  16.    Source:     MSSDK\Samples\Multimedia\Vbsamples\DirectInput\ScrawlB
  17.    Executable: MSSDK\Samples\Multimedia\vbsamples\DirectInput\Bin
  18.  
  19.  
  20. User's Guide
  21. ============
  22.    Left Click and drag on the canvas to draw
  23.    Right Click will bring up a pop up menu with choices
  24.     Speed 1     slow mouse movement
  25.     Speed 2     fast mouse movement
  26.     Speed 3     faster mouse movement
  27.     Clear        Clear the canvas
  28.     Suspend        Change from pencil to cursor pointer
  29.     Exit        Exit the application
  30.  
  31.  
  32. Programming Notes
  33. =================
  34.   The application subclasses the Display window to capture ENTERMENU messages so that
  35.   the cursor can be reset when select the menu. this is done through a call to
  36.   SetWindowLong. Note that failure to comment out these lines while running the sample from
  37.   within the Visual Basic environment will result in undefined behavior
  38.  
  39.    
  40.