home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: SysTools / SysTools.zip / taman002.zip / TASKMANA.ZIP / src / kNotebookPageBase.h < prev    next >
C/C++ Source or Header  |  2000-04-29  |  1KB  |  46 lines

  1. /* $Id: kNotebookPageBase.h,v 1.1 2000/04/29 19:06:35 stknut Exp $
  2.  *
  3.  * kNotebookPageBase (kClassLib) - base class for notebook pages.
  4.  *
  5.  * Copyright (c) 2000 knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
  6.  *
  7.  */
  8.  
  9.  
  10. #ifndef _kNotebookPageBase_h_
  11. #define _kNotebookPageBase_h_
  12.  
  13. #ifndef _kNotebookBase_h_
  14. class kNotebookBase;
  15. #endif
  16.  
  17. /**
  18.  * Base class for notebook pages. This inherits from kDlgBase.
  19.  * @author      knut st. osmundsen (knut.stange.osmundsen@pmsc.no)
  20.  */
  21. class kNotebookPageBase : public kDlgBase
  22. {
  23. protected:
  24.     kNotebookBase *pNtbk;
  25.     virtual VOID  command(USHORT usCmd, USHORT usSource, BOOL fPointer); //WM_COMMAND
  26.  
  27. public:
  28.     kNotebookPageBase(ULONG ulResId, HMODULE hmodRes, kNotebookBase *pNtbk) throw (kError);
  29.     ~kNotebookPageBase();
  30.  
  31.     /**@cat notifies from the notebook */
  32.     virtual VOID  ntfyHelp();
  33.     virtual VOID  ntfySelected();
  34.     virtual BOOL  ntfySelectedPending();
  35.     virtual VOID  ntfyDeselected();
  36.     virtual BOOL  ntfyDeselectedPending();
  37.     virtual VOID  ntfySized(LONG cx, LONG cy);
  38.     virtual VOID  ntfyInserted();
  39.  
  40.     /**@cat queries used by the notebook */
  41.     virtual PSZ   queryTabText(PSZ pszBuffer, ULONG cchBuffer);
  42. };
  43.  
  44.  
  45. #endif
  46.