home *** CD-ROM | disk | FTP | other *** search
- /*
- ┌──────────────────────────────────────────────────────────────────────────┐
- │ vxBase xbase for Visual Basic library │
- │ Copyright 1992 vxBase (512523 Alberta Ltd.) │
- ├────────────────┬──────┬────────────┬────────┬───────────────┬────────────┤
- │ SYSTEM │ VX │ PROGRAM ID │ SAMP.h │ CREATION DATE │ 02/29/92 │
- ├────────────────┼──────┴────────────┴────────┴───────────────┴────────────┤
- │ PROGRAM TITLE │ sample app header file │
- ├─────┬──────┬───┴┬───────────────────────────┬────────────────────────────┤
- │ REV │ DATE │ BY │ DESCRIPTION │ Written by T. Orletsky │
- ├─────┼──────┼────┼───────────────────────────┴────────────────────────────┤
- │ │ │ │ │
- └─────┴──────┴────┴────────────────────────────────────────────────────────┘
- /*
- * Menu identifiers.
- *
- */
-
- #define IDM_BROWSE 101
- #define IDM_JOIN 102
- #define IDM_PACK 103
- #define IDM_EXIT 104
-
- /*
- * dialog box ids
- */
-
- #define IDD_TYPEDIT 100
- #define IDD_TYPE 101
- #define IDD_DESC 102
- #define IDD_STAT 103
- #define IDD_SAVE 104
- #define IDD_CANCEL 105
- #define IDD_ADD 106
- #define IDD_DELETE 107
- #define IDD_NEXT 108
- #define IDD_PREV 109
- #define IDD_BROWSE 110
- #define IDD_EXIT 111
-
-
- /*
- * CSTRINGS is number of strings to load from the stringtable.
- * CCHSTRINGMAX is the maximum length that any string is allowed.
- *
- * What will happen is that CSTRINGS*CCHSTRINGMAX is allocated to begin
- * with and the stringtable is loaded into that space, only using what's
- * required for each string. After that, the space is reallocated to
- * be as small as possible.
- */
-
- #define CSTRINGS 13
- #define CCHSTRINGMAX 80
-
- /*
- * String ID values. Keep in SEQUENTIAL order and use 0-n
- */
-
- #define IDS_CAPTION 0
- #define IDS_BROWSE 1
- #define IDS_JOIN 2
- #define IDS_PACK 3
- #define IDE_BROWSE 4
- #define IDE_PACK 5
- #define IDS_ADDING 6
- #define IDS_DELE 7
- #define IDS_EDIT 8
- #define IDS_BADKEY 9
- #define IDS_DUPKEY 10
- #define IDS_CANC 11
- #define IDS_CDELE 12
-
- /*
- * Function prototypes.
- */
-
- HANDLE NEAR PASCAL HLoadAppStrings (void);
- int NEAR PASCAL vxTypeBrowse (void);
-
- long FAR PASCAL vxWndProc (HWND, unsigned, WORD, LONG);
- BOOL FAR PASCAL vxTypeEditDlg (HWND, WORD, WORD, LONG);
-
- /*
- ┌──────────────────────────────────────────────────────────────────────────┐
- │ END │
- └──────────────────────────────────────────────────────────────────────────┘
- */