home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CICA 1995 May
/
cica_0595_4.zip
/
cica_0595_4
/
UTIL
/
DATEFI20
/
README.DEV
< prev
next >
Wrap
Text File
|
1995-01-24
|
2KB
|
48 lines
DateFind
Version 2.0
01-25-1995
_____________________________________________________________________
README.DEV
This document is intended for Windows developers who want to take the
benefits of DateFind utility.
Please read README.1ST for general description and README.USR if you
are a DateFind user.
If you are developing an application that requires a lot of date
entries, you have to consider supporting and deploying the DateFind.
In order to support DateFind, you just have to process two messages in
your application.
DateFind sends messages directly to the child window/control on which
the mouse cursor currently is regardless of its state (disabled, hidden,
etc.). If that window does not process the DateFind messages (or if it
returns FALSE), DateFind sends messages to the root parent window (whose
parent is NULL).
Messages to process:
AM_DROP_OK (15669 or 0x3D35):
This message is sent when the mouse pointer enters the window
during drag mode. wParam contains the handle of the child
window (or control) on which the mouse cursor is on. You have
to return TRUE if dropping is allowed. You should either
return FALSE or not process this message at all if dropping
is not allowed. If dropping is NOT allowed, DateFind changes
the mouse cursor to 'No-Drop' cursor.
AM_DROP_DATE (16763 or 0x417B):
This message is sent to a window (or control) when the user
releases the left mouse button during drag mode. wParam
contains window handle of the window (or control). lParam
contains LPSTR to the date string.
See SAMPLE.EXE and SAMPLE.C for a simple demonstration of programming
with DateFind support.
Gupta SQLWindows developers:
Use PTRTOSTR.DLL to convert lParam into String. See DATEFIND.APT for an
example.