home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ibmodf.zip / CNTNRPRT.ZIP / CNNOTEBK.H < prev    next >
C/C++ Source or Header  |  1994-11-03  |  2KB  |  83 lines

  1. /*
  2.   File:    ODNotebk.h
  3.  
  4.   Contains:  Header info for CNNotebk.cpp
  5.  
  6.   Written by:  Michael Burbidge
  7.  
  8.  
  9.   Change History (most recent first):
  10.   
  11.      <1>   11/1/94  MB    first checked in
  12.  
  13.   To Do:
  14. */
  15. #ifndef _CNNOTEBKH_
  16. #define _CNNOTEBKH_
  17.  
  18. #ifndef _ODTYPES_
  19. #include "ODTypes.h"
  20. #endif
  21.  
  22. #ifndef _PART_
  23. #include "Part.xh"
  24. #endif
  25.  
  26. #ifndef _CNTNRPRT_
  27. #include "Cntnrprt.xih"
  28. #endif
  29.  
  30. #ifndef _CNTNRRES_
  31.    #include "cntnrres.h"
  32. #endif
  33.  
  34. #define INCL_WINHELP
  35. #define INCL_DOS
  36. #define INCL_WINPOINTERS
  37. #define INCL_WINFRAMEMGR   
  38. #define INCL_WINWINDOWMGR
  39. #define INCL_WIN
  40. #define INCL_GPI
  41. #define INCL_WPCLASS
  42. #define INCL_ODFRAME
  43. #include <os2.h>
  44. #include <pmhelp.h>
  45.  
  46.  
  47.  
  48. #define WM_FOCUS_PROCESSING   WM_USER + 1
  49.  
  50.  
  51. typedef struct {
  52.         SHORT width;
  53.         SHORT height;
  54. } TABSIZE;
  55. typedef TABSIZE FAR *PTABSIZE;
  56.  
  57.  
  58. typedef struct _PAGE {
  59.         PPAGEINFO ppageinfo;
  60.         ULONG    ulPageId;
  61.         HWND     hwndFocus;
  62.         struct  _PAGE FAR *ppageNext;
  63. } PAGE;
  64. typedef PAGE FAR *PPAGE;
  65.  
  66. typedef struct {
  67.         PFNWP   pfnwpNoteBookSubclassProc;
  68.         HWND    hwndHelpInstance;
  69.         PHELPTABLE phelptable;
  70.         ULONG   ulHTsize;
  71.         TABSIZE tabsize;
  72.         PPAGE   ppageFirst;
  73.         PPAGE   ppageCurrent;
  74.         PFNWP   pfnwpPageSubclassProc;                
  75.         PVOID thisNotebook;
  76.         ODPart * thisPart;
  77. } BOOKINFO; // may want to add 
  78. typedef BOOKINFO FAR *PBOOKINFO;
  79.  
  80.  
  81.  
  82. #endif // _CBNOTEBKH_
  83.