home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / infidx13.zip / infidx.h < prev    next >
Text File  |  1993-07-03  |  3KB  |  72 lines

  1. /*===========================================================================
  2.  * infidx.h  -- for documentation see infidx.c
  3.  *
  4.  * $Log:    infidx.h $
  5.  *Revision 1.3  93/07/03  18:42:35  UWE
  6.  *- seperated the program version number from the RCS revision
  7.  *- added a licence and disclaimer to the documentation
  8.  *
  9.  *Revision 1.2  93/07/02  11:10:41  UWE
  10.  *Added positioning possibility by user and REINIT-button.
  11.  *
  12.  *Revision 1.1  93/07/01  22:08:37  UWE
  13.  *Initial revision
  14.  *
  15.  * 
  16.  *===========================================================================*/
  17.  
  18. /********************/
  19. /* Normal C-defines */
  20. /********************/
  21. #define UKVERSION      "1.3"
  22. #define PROGNAME       "INFIDX - *.INF-index/starter"
  23. #define ENVVARNAME     "BOOKSHELF"
  24. #define POSENVVAR      "INFIDX"
  25. #define DEF_XPOS       0
  26. #define DEF_YPOS       0
  27. #define CONFNAME       "infidx"
  28. #define UK_RET         int
  29. #define UK_OK          0
  30. #define UK_ERR         1
  31. #define UK_MAX_ENTRIES 300
  32.  
  33. /****************************************************************/
  34. /* constants for the windows, menu-bars and the pull-down-menus */
  35. /* (we only got one window without decoration)                  */
  36. /****************************************************************/
  37.  
  38. /* the ID's of the menu-bars of the text-windows  */
  39.  
  40. #define ID_FW_AREA      1
  41.  
  42. /*********************************************************/
  43. /* private message-id:                                   */
  44. /* 1st will init  the selection dialog                   */
  45. /* 2nd will start the selection dialog                   */
  46. /*********************************************************/
  47.  
  48. #define WMP_INITSEL        (WM_USER + 1)
  49. #define WMP_OPENSEL        (WM_USER + 2)
  50.  
  51. /*******************************************/
  52. /* constants for the ID's of the elements  */
  53. /* of the selection dialog box             */
  54. /*******************************************/
  55.  
  56. #define UK_SEL_DLG                  100
  57. #define UK_SEL_LBOX                 101
  58. #define UK_SEL_ICON                 102
  59. #define UK_SEL_OPEN                 103
  60. #define UK_SEL_CANCEL               104
  61. #define UK_SEL_REINIT               105
  62. #define UK_SEL_ABOUT                106
  63.  
  64. /**************************************************************/
  65. /* the values returned by the selection dialog window         */
  66. /* procedure, if cancel or reinit was clicked;                */
  67. /**************************************************************/
  68.  
  69. #define UK_CANCEL   (UK_MAX_ENTRIES + 10)
  70. #define UK_REINIT   (UK_MAX_ENTRIES + 11)
  71.  
  72.