home *** CD-ROM | disk | FTP | other *** search
/ Cream of the Crop 12 / Cream of the Crop 12 (Part II) / Cream of the Crop 12 (Part II).iso / OS2 / VD08BIN.ZIP / usr / include / pm / notebook.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-13  |  1.7 KB  |  56 lines

  1. #ifndef _NOTEBOOK_H_
  2. #define _NOTEBOOK_H_
  3.  
  4. #ifndef _FACTORYWINDOW_H_
  5. #include <pm/FactoryWindow.h>
  6. #endif
  7.  
  8. @interface NoteBook : FactoryWindow <Archiving>
  9. {
  10. }
  11.  
  12. - initWithId: (ULONG) anId andFlags: (ULONG) flags in: (Window *) parent;
  13.  
  14. - (ULONG) createTopPageWithStatusText: (BOOL) stFlag;
  15. - (ULONG) createMajorTopPageWithStatusText: (BOOL) stFlag;
  16. - (ULONG) createMinorTopPageWithStatusText: (BOOL) stFlag;
  17.  
  18. - (ULONG) createLastPageWithStatusText: (BOOL) stFlag;
  19. - (ULONG) createMajorLastPageWithStatusText: (BOOL) stFlag;
  20. - (ULONG) createMinorLastPageWithStatusText: (BOOL) stFlag;
  21.  
  22. - (ULONG) createPageBefore: (ULONG) pageID withStatusText: (BOOL) stFlag;
  23. - (ULONG) createMajorPageBefore: (ULONG) pageID withStatusText: (BOOL) stFlag;
  24. - (ULONG) createMinorPageBefore: (ULONG) pageID withStatusText: (BOOL) stFlag;
  25.  
  26. - (ULONG) createPageAfter: (ULONG) pageID withStatusText: (BOOL) statusFlag;
  27. - (ULONG) createMajorPageAfter: (ULONG) pageID withStatusText: (BOOL) stFlag;
  28. - (ULONG) createMinorPageAfter: (ULONG) pageID withStatusText: (BOOL) stFlag;
  29.  
  30. - deletePage: (ULONG) pageID;
  31. - deleteAllPages;
  32.  
  33. - setStatusLineTextFor: (ULONG) pageID to: (char *) aString;
  34. - setTabTextFor: (ULONG) pageID to: (char *) aString;
  35.  
  36. - setMajorTabDimensions: (USHORT) width : (USHORT) height;
  37. - sizeMajorTabs;
  38. - setMinorTabDimensions: (USHORT) width : (USHORT) height;
  39. - setPageButtonDimensions: (USHORT) width : (USHORT) height;
  40.  
  41. - setPage: (ULONG) pageID to: (Window *) aWindow;
  42. - selectPage: (ULONG) pageID;
  43.  
  44. /*
  45.  * Methods for protocol "Archiving"
  46.  */
  47.  
  48. -awake;
  49. -read: (TypedStream *) aStream;
  50. -write: (TypedStream *) aStream;
  51. - createInPMWindow: (HWND) hwnd;
  52.  
  53. @end
  54.  
  55. #endif
  56.