Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

53 lines
1.8 KiB

  1. /////////////////////////////////////////////////////////////////////////////
  2. // FILE : CovNotifyWnd.h //
  3. // //
  4. // DESCRIPTION : The implementation of fax cover page notification //
  5. // window. //
  6. // //
  7. // AUTHOR : yossg //
  8. // //
  9. // HISTORY : //
  10. // Mar 14 2000 yossg Create //
  11. // //
  12. // Copyright (C) 2000 Microsoft Corporation All Rights Reserved //
  13. /////////////////////////////////////////////////////////////////////////////
  14. #ifndef _H_FAX_COV_NOTIFY_WND_H_
  15. #define _H_FAX_COV_NOTIFY_WND_H_
  16. #include <atlwin.h>
  17. const int WM_NEW_COV = WM_USER + 1;
  18. class CFaxCoverPagesNode;
  19. class CFaxCoverPageNotifyWnd : public CWindowImpl<CFaxCoverPageNotifyWnd>
  20. {
  21. public:
  22. //
  23. // Constructor
  24. //
  25. CFaxCoverPageNotifyWnd(CFaxCoverPagesNode * pParentNode)
  26. {
  27. m_pCoverPagesNode = pParentNode;
  28. }
  29. //
  30. // Destructor
  31. //
  32. ~CFaxCoverPageNotifyWnd()
  33. {
  34. }
  35. BEGIN_MSG_MAP(CFaxCoverPageNotifyWnd)
  36. MESSAGE_HANDLER(WM_NEW_COV, OnServerCovDirChanged)
  37. END_MSG_MAP()
  38. LRESULT OnServerCovDirChanged(UINT uMsg, WPARAM wParam, LPARAM lParam, BOOL& bHandled);
  39. private:
  40. CFaxCoverPagesNode * m_pCoverPagesNode;
  41. };
  42. #endif // _H_FAX_COV_NOTIFY_WND_H_