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

  1. /*
  2.     OS/2 Presentation Manager Help Manager include file
  3.     for 32-bit development.
  4. */
  5.  
  6.  
  7. #ifndef __PMHELP_H__
  8.  
  9. #define HM_RESOURCEID 0
  10. #define HM_PANELNAME  1
  11.  
  12. #define HMPANELTYPE_NUMBER 0
  13. #define HMPANELTYPE_NAME   1
  14.  
  15. #define CMIC_HIDE_PANEL_ID   0
  16. #define CMIC_SHOW_PANEL_ID   1
  17. #define CMIC_TOGGLE_PANEL_ID 2
  18.  
  19. #define HM_MSG_BASE               0x0220
  20.  
  21. #define HM_DISMISS_WINDOW             0x0220
  22. #define HM_DISPLAY_HELP               0x0222
  23. #define HM_EXT_HELP                   0x0223
  24. #define HM_GENERAL_HELP               HM_EXT_HELP
  25. #define HM_SET_ACTIVE_WINDOW          0x0224
  26. #define HM_LOAD_HELP_TABLE            0x0225
  27. #define HM_CREATE_HELP_TABLE          0x0226
  28. #define HM_SET_HELP_WINDOW_TITLE      0x0227
  29. #define HM_SET_SHOW_PANEL_ID          0x0228
  30. #define HM_REPLACE_HELP_FOR_HELP      0x0229
  31. #define HM_REPLACE_USING_HELP         HM_REPLACE_HELP_FOR_HELP
  32. #define HM_HELP_INDEX                 0x022a
  33. #define HM_HELP_CONTENTS              0x022b
  34. #define HM_KEYS_HELP                  0x022c
  35. #define HM_SET_HELP_LIBRARY_NAME      0x022d
  36. #define HM_SET_OBJCOM_WINDOW          0x0238
  37. #define HM_UPDATE_OBJCOM_WINDOW_CHAIN 0x0239
  38. #define HM_QUERY_DDF_DATA             0x023a
  39. #define HM_INVALIDATE_DDF_DATA        0x023b
  40. #define HM_QUERY                      0x023c
  41. #define HM_SET_COVERPAGE_SIZE         0x023d
  42.  
  43. typedef USHORT HELPSUBTABLE, *PHELPSUBTABLE;
  44.  
  45. #pragma pack(2)
  46.  
  47. typedef struct _HELPTABLE {
  48.     USHORT        idAppWindow;
  49.     PHELPSUBTABLE phstHelpSubTable;
  50.     USHORT        idExtPanel;
  51. } HELPTABLE, *PHELPTABLE;
  52.  
  53. typedef struct _HELPINIT {
  54.     ULONG      cb;
  55.     ULONG      ulReturnCode;
  56.     PSZ        pszTutorialName;
  57.     PHELPTABLE phtHelpTable;
  58.     HMODULE    hmodHelpTableModule;
  59.     HMODULE    hmodAccelActionBarModule;
  60.     ULONG      idAccelTable;
  61.     ULONG      idActionBar;
  62.     PSZ        pszHelpWindowTitle;
  63.     ULONG      fShowPanelId;
  64.     PSZ        pszHelpLibraryName;
  65. } HELPINIT, *PHELPINIT;
  66.  
  67. #pragma pack()
  68.  
  69. BOOL   APIENTRY WinAssociateHelpInstance(HWND hwndHelpInstance, HWND hwndApp);
  70. HWND   APIENTRY WinCreateHelpInstance(HAB hab, PHELPINIT phinitHMInitStructure);
  71. BOOL   APIENTRY WinCreateHelpTable(HWND hwndHelpInstance, PHELPTABLE phtHelpTable);
  72. BOOL   APIENTRY WinDestroyHelpInstance(HWND hwndHelpInstance);
  73.  
  74. #endif
  75.