home *** CD-ROM | disk | FTP | other *** search
/ QBasic & Borland Pascal & C / Delphi5.iso / C / BC_502 / COMDLG32.PAK / COMDLG32.H < prev    next >
Encoding:
C/C++ Source or Header  |  1997-05-06  |  1.8 KB  |  66 lines

  1. //---------------------------------------------------------------------------
  2. //    CMNDLG32.H
  3. //---------------------------------------------------------------------------
  4. #define STRICT
  5.  
  6. #ifdef    RC_INVOKED
  7. #include <winuser.h>
  8. #else    // RC_INVOKED
  9. #include <windows.h>
  10. #endif    // RC_INVOKED
  11. #include "resource.h"
  12.  
  13. // window ids
  14. #define ID_EDITCHILD        500
  15.  
  16. // string constants
  17.  
  18. #define IDS_DIALOGFAILURE     1
  19. #define IDS_STRUCTSIZE        2
  20. #define IDS_INITIALIZATION    3
  21. #define IDS_NOTEMPLATE        4
  22. #define IDS_NOHINSTANCE       5
  23. #define IDS_LOADSTRFAILURE    6
  24. #define IDS_FINDRESFAILURE    7
  25. #define IDS_LOADRESFAILURE    8
  26. #define IDS_LOCKRESFAILURE    9
  27. #define IDS_MEMALLOCFAILURE  10
  28. #define IDS_MEMLOCKFAILURE   11
  29. #define IDS_NOHOOK           12
  30. #define IDS_SETUPFAILURE     13
  31. #define IDS_PARSEFAILURE     14
  32. #define IDS_RETDEFFAILURE    15
  33. #define IDS_LOADDRVFAILURE   16
  34. #define IDS_GETDEVMODEFAIL   17
  35. #define IDS_INITFAILURE      18
  36. #define IDS_NODEVICES        19
  37. #define IDS_NODEFAULTPRN     20
  38. #define IDS_DNDMMISMATCH     21
  39. #define IDS_CREATEICFAILURE  22
  40. #define IDS_PRINTERNOTFOUND  23
  41. #define IDS_NOFONTS          24
  42. #define IDS_SUBCLASSFAILURE  25
  43. #define IDS_INVALIDFILENAME  26
  44. #define IDS_BUFFERTOOSMALL   27
  45. #define IDS_FILTERSTRING     28
  46. #define IDS_UNKNOWNERROR     29
  47.  
  48. // constants
  49.  
  50. #define MAX_PATH             260
  51.  
  52. // Function prototypes
  53.  
  54. // procs
  55. long APIENTRY MainWndProc(HWND, UINT, UINT, LONG);
  56. BOOL APIENTRY About(HWND, UINT, UINT, LONG);
  57. BOOL APIENTRY EnterNew(HWND, UINT, UINT, LONG);
  58. BOOL CALLBACK ComDlg32DlgProc(HWND, UINT, WPARAM, LPARAM);
  59.  
  60. //functions
  61. BOOL InitApplication(HANDLE);
  62. BOOL InitInstance(HANDLE, int);
  63. BOOL OpenTheFile( HWND, HWND );
  64. void ProcessCDError(DWORD, HWND);
  65. BOOL NEAR PASCAL TestNotify(HWND, LPOFNOTIFY);
  66.