home *** CD-ROM | disk | FTP | other *** search
/ CICA 1995 May / cica_0595_4.zip / cica_0595_4 / UTIL / DATEFI20 / README.DEV < prev    next >
Text File  |  1995-01-24  |  2KB  |  48 lines

  1.                 DateFind
  2.                   Version  2.0
  3.                    01-25-1995
  4. _____________________________________________________________________
  5.                    README.DEV
  6.  
  7. This document is intended for Windows developers who want to take the 
  8. benefits of DateFind utility.
  9.  
  10. Please read README.1ST for general description and README.USR if you
  11. are a DateFind user.
  12.  
  13. If you are developing an application that requires a lot of date
  14. entries, you have to consider supporting and deploying the DateFind.
  15. In order to support DateFind, you just have to process two messages in
  16. your application.
  17.  
  18. DateFind sends messages directly to the child window/control on which
  19. the mouse cursor currently is regardless of its state (disabled, hidden,
  20. etc.).  If that window does not process the DateFind messages (or if it
  21. returns FALSE), DateFind sends messages to the root parent window (whose
  22. parent is NULL).
  23.  
  24.     Messages to process:
  25.  
  26.      AM_DROP_OK (15669 or 0x3D35):
  27.       This message is sent when the mouse pointer enters the window 
  28.       during drag mode. wParam contains the handle of the child 
  29.       window (or control) on which the mouse cursor is on.  You have 
  30.       to return TRUE if dropping is allowed.  You should either
  31.       return FALSE or not process this message at all if dropping
  32.       is  not allowed.  If dropping is NOT allowed, DateFind changes 
  33.       the mouse cursor to 'No-Drop' cursor.
  34.  
  35.      AM_DROP_DATE (16763 or 0x417B):
  36.       This message is sent to a window (or control) when the user
  37.       releases the left mouse button during drag mode.  wParam
  38.       contains window handle of the window (or control).  lParam
  39.       contains LPSTR to the date string.
  40.  
  41. See SAMPLE.EXE and SAMPLE.C for a simple demonstration of programming
  42. with DateFind support.
  43.  
  44. Gupta SQLWindows developers:
  45. Use PTRTOSTR.DLL to convert lParam into String.  See DATEFIND.APT for an
  46. example.
  47.  
  48.