home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / tolkit45.zip / os2tk45 / samples / wps / browse / pmbrowse.h < prev   
C/C++ Source or Header  |  1999-05-11  |  2KB  |  68 lines

  1. /************************************************************************/
  2. /*                               PMBROWSE.H                             */
  3. /************************************************************************/
  4. #define ID_WINDOW                   100
  5.  
  6. #define ID_ICON                     101
  7.  
  8. #define ID_PRODUCTINFO              120
  9. #define ID_OK                       130
  10.  
  11. /**********************/
  12. /* Menu option values */
  13. /**********************/
  14. #define ID_OPENMENU                 ( OPEN_USER + 1)
  15. #define ID_OPEN_TEXT                ( OPEN_USER + 2)
  16. #define ID_OPEN_HEX                 ( OPEN_USER + 3)
  17.  
  18. #define ID_PRODUCTINFOMENU          ( OPEN_USER + 4)
  19. #define ID_OPEN_PRODUCTINFO         ( OPEN_USER + 5)
  20.  
  21. /****************************************/
  22. /* Browse - O - Matic specific messages */
  23. /****************************************/
  24. #define IDL_SETFONTINFO             WM_USER + 0
  25.  
  26. /******************/
  27. /* Help constants */
  28. /******************/
  29. #define SUBTABLE_MAIN               2000
  30. #define SUBTABLE_PRODUCTINFO        3000
  31.  
  32. #define PANEL_MAIN                  2000
  33. #define PANEL_HELPKEYS              3000
  34.  
  35. #define PANEL_HELP_OPEN_TEXT        6000
  36. #define PANEL_HELP_OPEN_HEX         6010
  37.  
  38. /*********************/
  39. /* Defined Constants */
  40. /*********************/
  41. #define  APPL_NAME            "Browse-O-Matic"
  42. #define  BROWSE_WINDOW_CLASS  APPL_NAME
  43.  
  44. /*****************/
  45. /* Display Modes */
  46. /*****************/
  47. #define PMBROWSE_TEXT_DISPLAY_MODE  1
  48. #define PMBROWSE_HEX_DISPLAY_MODE   2
  49.  
  50. /*****************************************/
  51. /*          Function Prototypes          */
  52. /*****************************************/
  53.  
  54. /**************/
  55. /* pmbrowse.c */
  56. /**************/
  57. MRESULT EXPENTRY BrowseWndProc( HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  58. MRESULT EXPENTRY OpenFilterProc( HWND hwnd, ULONG msg, MPARAM mp1, MPARAM mp2);
  59. MRESULT EXPENTRY AboutBoxDlgProc( HWND hwnd, ULONG msg, MPARAM mp1,MPARAM mp2);
  60.  
  61. #ifndef max
  62. #define max(a,b) (((a) > (b))?(a):(b))
  63. #endif
  64.  
  65. #ifndef min
  66. #define min(a,b) (((a) < (b))?(a):(b))
  67. #endif
  68.