text: // This is a part of the Microsoft Foundation Classes C++ library.
  // Copyright (c) Microsoft Corporation.  All rights reserved.
  //
  // This source code is only intended as a supplement to the
  // Microsoft Foundation Classes Reference and related
  // electronic documentation provided with the library.
  // See these sources for detailed information regarding the
  // Microsoft Foundation Classes product.
  
  #pragma once
  
  /////////////////////////////////////////////////////////////////////////////
  // CCalendarBar window
  
  class CCalendarBar : public CWnd
  {
  // Construction
  public:
  	CCalendarBar();
  
  // Attributes
  protected:
  	CMonthCalCtrl m_wndCalendar;
  	int m_nMyCalendarsY;
  	CImageList m_Images;
  
  // Overrides
  public:
  	virtual BOOL Create(const RECT& rect, CWnd* pParentWnd, UINT nID = (UINT)-1);
  
  // Implementation
  public:
  	virtual ~CCalendarBar();
  
  protected:
  	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
  	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
  	afx_msg void OnSize(UINT nType, int cx, int cy);
  	afx_msg void OnPaint();
  
  	DECLARE_MESSAGE_MAP()
  };
  