home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / watcoapi.zip / incl32 / pmstddlg.h < prev    next >
C/C++ Source or Header  |  2002-09-30  |  2KB  |  76 lines

  1. /*
  2.     OS/2 Presentation Manager standard dialogs include file.
  3. */
  4.  
  5.  
  6. #define STDDLG_INCLUDED
  7.  
  8. #ifdef INCL_WINSTDDLGS
  9.     #define INCL_WINSTDFILE
  10. #endif
  11.  
  12. #if defined(INCL_WINSTDFILE)
  13.  
  14. #define FDS_CENTER            0x00000001
  15. #define FDS_CUSTOM            0x00000002
  16. #define FDS_FILTERUNION       0x00000004
  17. #define FDS_HELPBUTTON        0x00000008
  18. #define FDS_APPLYBUTTON       0x00000010
  19. #define FDS_PRELOAD_VOLINFO   0x00000020
  20. #define FDS_MODELESS          0x00000040
  21. #define FDS_INCLUDE_EAS       0x00000080
  22. #define FDS_OPEN_DIALOG       0x00000100
  23. #define FDS_SAVEAS_DIALOG     0x00000200
  24. #define FDS_MULTIPLESEL       0x00000400
  25. #define FDS_ENABLEFILELB      0x00000800
  26. #define FDS_NATIONAL_LANGUAGE 0x80000000
  27.  
  28. #define FDS_SUCCESSFUL                 0
  29. #define FDS_ERR_DEALLOCATE_MEMORY      1
  30. #define FDS_ERR_FILTER_TRUNC           2
  31. #define FDS_ERR_INVALID_DIALOG         3
  32. #define FDS_ERR_INVALID_DRIVE          4
  33. #define FDS_ERR_INVALID_FILTER         5
  34. #define FDS_ERR_INVALID_PATHFILE       6
  35. #define FDS_ERR_OUT_OF_MEMORY          7
  36. #define FDS_ERR_PATH_TOO_LONG          8
  37. #define FDS_ERR_TOO_MANY_FILE_TYPES    9
  38. #define FDS_ERR_INVALID_VERSION       10
  39. #define FDS_ERR_INVALID_CUSTOM_HANDLE 11
  40. #define FDS_ERR_DIALOG_LOAD_ERROR     12
  41. #define FDS_ERR_DRIVE_ERROR           13
  42.  
  43. #define FDS_EFSELECTION 0
  44. #define FDS_LBSELECTION 1
  45.  
  46. typedef PSZ APSZ[1];
  47. typedef APSZ *PAPSZ;
  48.  
  49. typedef struct _FILEDLG {
  50.     ULONG   cbSize;
  51.     ULONG   fl;
  52.     ULONG   ulUser;
  53.     LONG    lReturn;
  54.     LONG    lSRC;
  55.     PSZ     pszTitle;
  56.     PSZ     pszOKButton;
  57.     PFNWP   pfnDlgProc;
  58.     PSZ     pszIType;
  59.     PAPSZ   papszITypeList;
  60.     PSZ     pszIDrive;
  61.     PAPSZ   papszIDriveList;
  62.     HMODULE hMod;
  63.     CHAR    szFullFile[CCHMAXPATH];
  64.     PAPSZ   papszFQFilename;
  65.     ULONG   ulFQFCount;
  66.     USHORT  usDlgID;
  67.     SHORT   x;
  68.     SHORT   y;
  69.     SHORT   sEAType;
  70. } FILEDLG, *PFILEDLG;
  71.  
  72. HWND   APIENTRY WinFileDlg(HWND hwndP, HWND hwndO, PFILEDLG pfild);
  73. BOOL   APIENTRY WinFreeFileDlgList(PAPSZ papszFQFilename);
  74. #endif
  75.  
  76.