home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / gbmos2pm.zip / gbmdlg / gbmdlgrc.h < prev    next >
Text File  |  1997-01-25  |  2KB  |  63 lines

  1. /*
  2.  
  3. gbmdlgrc.h - Resource ID's etc.
  4.  
  5. The HID_ help ID's must be decimal to keep IPFCPREP and IPFC happy.
  6. A calling program using GBM dialog should not use Help ID's in the range
  7. >= HID_GBM_MIN and < HID_GBM_MAX, as these are used below and are reserved for
  8. use by GBM dialog. Only HID_GBM_FILEDLG and HID_GBM_SUPPORT will remain
  9. unchanged. The others may change/disappear/be-added-to and should not be
  10. referred to by :link. tags in application help files.
  11.  
  12. The DID_ control ID's are the additional controls on the GBM dialog.
  13. If you provide your own subclass dialog procedure, you may wish to use these.
  14. If you add your own additional controls, ensure they are >= DID_GBM_MAX.
  15.  
  16. If help is requested, then the help ID will always be for a mythical control
  17. DID_GBM_FILEDLG. Thus the application need only supply the following help
  18. tables.
  19.  
  20.     HELPTABLE RID_HELP_TABLE
  21.         {
  22.         HELPITEM RID_GBM_FILEDLG, RID_GBM_FILEDLG, HID_GBM_FILEDLG
  23.         etc.
  24.         }
  25.  
  26.     HELPSUBTABLE RID_GBM_FILEDLG
  27.         {
  28.         HELPSUBITEM DID_GBM_FILEDLG, HID_GBM_FILEDLG
  29.         }
  30.  
  31. */
  32.  
  33. #define    RID_GBM_FILEDLG        512
  34.  
  35. #define    DID_GBM_MIN        4096
  36. #define    DID_GBM_FILEDLG        4096        /* Can safely refer to this */
  37. #define    DID_GBM_OPTIONS_TXT    4097
  38. #define    DID_GBM_OPTIONS_ED    4098
  39. #define    DID_GBM_MAX        5120
  40.  
  41. #define    HID_GBM_MIN        2000
  42. #define    HID_GBM_FILEDLG        2000        /* Can safely refer to this */
  43. #define    HID_GBM_SUPPORT        2001        /* Can safely refer to this */
  44. #define    HID_GBM_BITMAP        2002
  45. #define    HID_GBM_GIF        2003
  46. #define    HID_GBM_PCX        2004
  47. #define    HID_GBM_TIFF        2005
  48. #define    HID_GBM_TARGA        2006
  49. #define    HID_GBM_ILBM        2007
  50. #define    HID_GBM_YUV12C        2008
  51. #define    HID_GBM_GREYMAP        2009
  52. #define    HID_GBM_PIXMAP        2010
  53. #define    HID_GBM_KIPS        2011
  54. #define    HID_GBM_IAX        2012
  55. #define    HID_GBM_XBITMAP        2013
  56. #define    HID_GBM_SPRITE        2014
  57. #define    HID_GBM_PSEG        2015
  58. #define    HID_GBM_GEMRAS        2016
  59. #define    HID_GBM_PORTRAIT    2017
  60. #define    HID_GBM_JPEG        2018
  61. #define    HID_GBM_OTHERS        2019
  62. #define    HID_GBM_MAX        3000
  63.