home *** CD-ROM | disk | FTP | other *** search
/ Liren Large Software Subsidy 7 / 07.iso / d / d009_2 / 1.ddi / SAMPLES / INCLUDE / TESTDLGS.H$ / TESTDLGS.bin
Encoding:
Text File  |  1992-02-13  |  3.4 KB  |  87 lines

  1. /*---------------------------------------------------------------------------
  2. |
  3. | TESTDLGS.H:  Header file for TESTDLGS.DLL
  4. |
  5. | Copyright (c) 1987-1992, Microsoft Corporation.  All rights reserved.
  6. |
  7. | Purpose:  This file declares the constants, structures, and functions
  8. |           contained within TESTDLGS.DLL
  9. |
  10. +---------------------------------------------------------------------------*/
  11.  
  12.  
  13. #ifndef TESTDLGS_INCLUDED
  14. #define TESTDLGS_INCLUDED
  15.  
  16.  
  17. #define cchCLASSMAC 32
  18. #define cchTEXTMAC  256
  19. #define wVEREB      1
  20.  
  21. typedef struct DCR {
  22.     int xLeft;
  23.     int yMin;
  24.     int xRight;
  25.     int yLast;
  26. } DCR;
  27.  
  28.  
  29. //-------------------------------------------------------
  30. // TESTDLGS routines
  31. //-------------------------------------------------------
  32. int FAR PASCAL AwaitSaveCompletion  (void);
  33. int FAR PASCAL ComparisonResults    (void);
  34.  
  35. int FAR PASCAL CmpWindow            (HWND hWnd, int nDialog, int fIncludeParent);
  36. int FAR PASCAL CmpWindowActivate    (LPSTR lpszOpenKeys, LPSTR lpszCloseKey, int nDialog, int fIncludeParent);
  37. int FAR PASCAL CmpWindowCaption     (LPSTR lpszCap, int nDialog, int fIncludeParent);
  38. int FAR PASCAL CmpWindowDelayed     (int nDelay, int nDialog, int fIncludeParent, LPSTR lpszCloseKeys);
  39.  
  40. int FAR PASCAL FindWindowCaption    (LPSTR lpszCap, int hWndStart);
  41.  
  42. int FAR PASCAL SaveMenu             (HWND hWnd, int nDialog, LPSTR lpszDesc, int fReplace);
  43. int FAR PASCAL SaveMenuActivate     (LPSTR lpszOpenKeys, LPSTR lpszCloseKeys, int nDialog, LPSTR lpszDesc, int fReplace);
  44. int FAR PASCAL SaveMenuCaption      (LPSTR lpszCap, int nDialog, LPSTR lpszDesc, int fReplace);
  45. int FAR PASCAL SaveMenuDelayed      (int nDelay, int nDialog, LPSTR lpszDesc, int fReplace, LPSTR CloseKeys);
  46.  
  47. int FAR PASCAL SaveWindow           (HWND hWnd, int nDialog, LPSTR lpszDesc, int fReplace, int fIncludeParent);
  48. int FAR PASCAL SaveWindowActivate   (LPSTR lpszOpenKeys, LPSTR lpszCloseKeys, int nDialog, LPSTR lpszDesc, int fReplace, int fIncludeParent);
  49. int FAR PASCAL SaveWindowCaption    (LPSTR lpszCap, int nDialog, LPSTR lpszDesc, int fReplace, int fIncludeParent);
  50. int FAR PASCAL SaveWindowDelayed    (int nDelay, int nDialog, LPSTR lpszDesc, int fReplace, int fIncludeParent, LPSTR lpszCloseKeys);
  51.  
  52. int FAR PASCAL SetDialogFile        (LPSTR lpszDialogName);
  53. int FAR PASCAL SetLogFile           (LPSTR lpszLogName);
  54.  
  55.  
  56. //-------------------------------------------------------
  57. // Valid Error values
  58. //-------------------------------------------------------
  59. #define ERR_DLGS_NOERR            0
  60. #define ERR_DLGS_FUZZY           -1
  61. #define ERR_DLGS_EXCESS          -2
  62. #define ERR_DLGS_CTLNOTFOUND     -3
  63. #define ERR_DLGS_NODLGFILE      -10
  64. #define ERR_DLGS_FILENOTFOUND   -11
  65. #define ERR_DLGS_BADWDLFILE     -12
  66. #define ERR_DLGS_LIBLOADERR     -13
  67. #define ERR_DLGS_SAVEERR        -14
  68. #define ERR_DLGS_DLGFILEERR     -15
  69. #define ERR_DLGS_TMPFILEERR     -16
  70. #define ERR_DLGS_VERSIONERR     -17
  71. #define ERR_DLGS_DLGFILEFULL    -18
  72. #define ERR_DLGS_OUTOFMEMORY    -20
  73. #define ERR_DLGS_BUFFERERR      -21
  74. #define ERR_DLGS_NOTIMER        -22
  75. #define ERR_DLGS_NODYNDIALOG    -30
  76. #define ERR_DLGS_INVALIDHWND    -31
  77. #define ERR_DLGS_BADCAPTION     -32
  78. #define ERR_DLGS_BADDLGNUM      -33
  79. #define ERR_DLGS_BADCTLINDEX    -34
  80. #define ERR_DLGS_BADCTLTYPE     -35
  81. #define ERR_DLGS_BADSAVEACTION  -36
  82. #define ERR_DLGS_APPSPECIFIC    -37
  83.  
  84.  
  85. #endif
  86.  
  87.