home *** CD-ROM | disk | FTP | other *** search
- /*---------------------------------------------------------------------------
- |
- | TESTDLGS.H: Header file for TESTDLGS.DLL
- |
- | Copyright (c) 1987-1992, Microsoft Corporation. All rights reserved.
- |
- | Purpose: This file declares the constants, structures, and functions
- | contained within TESTDLGS.DLL
- |
- +---------------------------------------------------------------------------*/
-
-
- #ifndef TESTDLGS_INCLUDED
- #define TESTDLGS_INCLUDED
-
-
- #define cchCLASSMAC 32
- #define cchTEXTMAC 256
- #define wVEREB 1
-
- typedef struct DCR {
- int xLeft;
- int yMin;
- int xRight;
- int yLast;
- } DCR;
-
-
- //-------------------------------------------------------
- // TESTDLGS routines
- //-------------------------------------------------------
- int FAR PASCAL AwaitSaveCompletion (void);
- int FAR PASCAL ComparisonResults (void);
-
- int FAR PASCAL CmpWindow (HWND hWnd, int nDialog, int fIncludeParent);
- int FAR PASCAL CmpWindowActivate (LPSTR lpszOpenKeys, LPSTR lpszCloseKey, int nDialog, int fIncludeParent);
- int FAR PASCAL CmpWindowCaption (LPSTR lpszCap, int nDialog, int fIncludeParent);
- int FAR PASCAL CmpWindowDelayed (int nDelay, int nDialog, int fIncludeParent, LPSTR lpszCloseKeys);
-
- int FAR PASCAL FindWindowCaption (LPSTR lpszCap, int hWndStart);
-
- int FAR PASCAL SaveMenu (HWND hWnd, int nDialog, LPSTR lpszDesc, int fReplace);
- int FAR PASCAL SaveMenuActivate (LPSTR lpszOpenKeys, LPSTR lpszCloseKeys, int nDialog, LPSTR lpszDesc, int fReplace);
- int FAR PASCAL SaveMenuCaption (LPSTR lpszCap, int nDialog, LPSTR lpszDesc, int fReplace);
- int FAR PASCAL SaveMenuDelayed (int nDelay, int nDialog, LPSTR lpszDesc, int fReplace, LPSTR CloseKeys);
-
- int FAR PASCAL SaveWindow (HWND hWnd, int nDialog, LPSTR lpszDesc, int fReplace, int fIncludeParent);
- int FAR PASCAL SaveWindowActivate (LPSTR lpszOpenKeys, LPSTR lpszCloseKeys, int nDialog, LPSTR lpszDesc, int fReplace, int fIncludeParent);
- int FAR PASCAL SaveWindowCaption (LPSTR lpszCap, int nDialog, LPSTR lpszDesc, int fReplace, int fIncludeParent);
- int FAR PASCAL SaveWindowDelayed (int nDelay, int nDialog, LPSTR lpszDesc, int fReplace, int fIncludeParent, LPSTR lpszCloseKeys);
-
- int FAR PASCAL SetDialogFile (LPSTR lpszDialogName);
- int FAR PASCAL SetLogFile (LPSTR lpszLogName);
-
-
- //-------------------------------------------------------
- // Valid Error values
- //-------------------------------------------------------
- #define ERR_DLGS_NOERR 0
- #define ERR_DLGS_FUZZY -1
- #define ERR_DLGS_EXCESS -2
- #define ERR_DLGS_CTLNOTFOUND -3
- #define ERR_DLGS_NODLGFILE -10
- #define ERR_DLGS_FILENOTFOUND -11
- #define ERR_DLGS_BADWDLFILE -12
- #define ERR_DLGS_LIBLOADERR -13
- #define ERR_DLGS_SAVEERR -14
- #define ERR_DLGS_DLGFILEERR -15
- #define ERR_DLGS_TMPFILEERR -16
- #define ERR_DLGS_VERSIONERR -17
- #define ERR_DLGS_DLGFILEFULL -18
- #define ERR_DLGS_OUTOFMEMORY -20
- #define ERR_DLGS_BUFFERERR -21
- #define ERR_DLGS_NOTIMER -22
- #define ERR_DLGS_NODYNDIALOG -30
- #define ERR_DLGS_INVALIDHWND -31
- #define ERR_DLGS_BADCAPTION -32
- #define ERR_DLGS_BADDLGNUM -33
- #define ERR_DLGS_BADCTLINDEX -34
- #define ERR_DLGS_BADCTLTYPE -35
- #define ERR_DLGS_BADSAVEACTION -36
- #define ERR_DLGS_APPSPECIFIC -37
-
-
- #endif
-
-