home *** CD-ROM | disk | FTP | other *** search
- #define DTEDIT_OPH
-
- #ifndef LODGER_OPH
- #include <sdk\lodger>
- #endif
-
- #ifndef MFNE_OPH
- #include <sdk\mfne>
- #endif
-
- /* Constants for dtedit */
-
- #define SE_DTEDIT_VALUE 0x01
- #define SE_DTEDIT_LOW 0x02
- #define SE_DTEDIT_HIGH 0x04
- #define PR_DTEDIT_DATE 0x0000
- #define PR_DTEDIT_TIME 0x0100
- #define PR_DTEDIT_DURATION 0x0200
- #define PR_DTEDIT_SECONDS 0x1000
- #define PR_DTEDIT_NEGATIVE 0x2000
- #define PR_DTEDIT_AMPM 0x4000
- #define PR_DTEDIT_NEG_DURATION (PR_DTEDIT_DURATION|PR_DTEDIT_NEGATIVE)
- #define IN_DTEDIT_INIT (SE_DTEDIT_VALUE|SE_DTEDIT_LOW|SE_DTEDIT_HIGH)
- #define IN_DTEDIT_DDMMYYYY (PR_DTEDIT_DATE)
- #define IN_DTEDIT_HHMMSS (PR_DTEDIT_TIME|PR_DTEDIT_SECONDS)
- #define IN_DTEDIT_HHMM (PR_DTEDIT_TIME)
- #define IN_DTEDIT_HHMMSS_D (PR_DTEDIT_TIME|PR_DTEDIT_DURATION|PR_DTEDIT_SECONDS)
- #define IN_DTEDIT_HHMM_D (PR_DTEDIT_TIME|PR_DTEDIT_DURATION)
- #define IN_DTEDIT_HHMMSS_ND (PR_DTEDIT_TIME|PR_DTEDIT_NEG_DURATION|PR_DTEDIT_SECONDS)
- #define IN_DTEDIT_HHMM_ND (PR_DTEDIT_TIME|PR_DTEDIT_NEG_DURATION)
-
- /* Types for dtedit */
-
- STRUCT IN_DTEDIT
- flags%
- value&
- low&
- high&
- ENDS
-
- STRUCT SE_DTEDIT
- flags%
- value&
- low&
- high&
- ENDS
-
- /* Property of dtedit */
-
- STRUCT PRS_DTEDIT
- cal%
- dType%
- changed#
- inSelfCheck#
- in#(SIZEOF(IN_DTEDIT))
- ENDS
-
- STRUCT PR_DTEDIT
- root#(SIZEOF(PRS_ROOT))
- win#(SIZEOF(PRS_WIN))
- lodger#(SIZEOF(PRS_LODGER))
- mfne#(SIZEOF(PRS_MFNE))
- dtedit#(SIZEOF(PRS_DTEDIT))
- ENDS
-