home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / ibmodf.zip / CNTNRPRT.ZIP / CNNOTEBK.IDL < prev    next >
Text File  |  1994-11-03  |  2KB  |  86 lines

  1. #ifdef __PRIVATE__
  2. //#
  3. //#    File:        cnNotebk.idl
  4. //#
  5. //#    Contains:    IDL description of ODNotebook Extension for 
  6. //#                   the container part
  7. //#    Written by:    Joe Ochipinti
  8. //#
  9. //#    Copyright:    (c) 1994 by IBM Corp., all rights reserved.
  10. //#
  11. //#    Change History (most recent first):
  12. //#
  13. //#         <1>      7/6/94    jso    first checked in
  14. //#
  15. //#    To Do:
  16. //#
  17. #else
  18. //#    Copyright:    (c) 1993-1994 by IBM Corp., all rights reserved.
  19. #endif
  20.  
  21. #ifndef _CNNOTEBK_
  22. #define _CNNOTEBK_
  23.  
  24. #ifndef _ODNOTEBK
  25. #include "ODnotebk.idl"
  26. #endif
  27.  
  28.    
  29. //==============================================================================
  30. // Theory of Operation
  31. //==============================================================================
  32.  
  33. /*
  34.   CNNotebk is implemented as a subclass of ODNotebk. The AddNotebookPages
  35.   method is overridden to allow the part to add only the background page. The 
  36.   InsertBackgroundPage is added to provide the new page.
  37. */
  38.  
  39. //==============================================================================
  40. // Classes defined in this interface
  41. //==============================================================================
  42. interface CNNotebook;
  43.  
  44. //=====================================================================================
  45. // Implementation Types
  46. //=====================================================================================
  47.  
  48.  
  49. //==============================================================================
  50. // Classes used by this interface
  51. //==============================================================================
  52.  
  53. //==============================================================================
  54. // ODExtension
  55. //==============================================================================
  56.  
  57. interface CNNotebook : ODNotebook
  58. {
  59.    
  60.  
  61.  
  62.    ODULong InsertBackgroundPage(in HWND hwndNotebook);
  63.  
  64. #ifdef __SOMIDL__
  65.   implementation
  66.   {
  67.  
  68.     functionprefix = ODNotebook;
  69.  
  70.   override:
  71.     AddNotebookPages, 
  72.     somInit,
  73.     somUninit;
  74.     
  75.   releaseorder:
  76.      InsertBackgroundPage;
  77.  
  78.   #ifdef __PRIVATE__
  79.    HMODULE hmodHandle;
  80.   #endif
  81.   
  82.   };
  83. #endif
  84. };
  85. #endif     // CNNOTEBK
  86.