// This MFC Samples source code demonstrates using MFC Microsoft Office Fluent User Interface // (the "Fluent UI") and is provided only as referential material to supplement the // Microsoft Foundation Classes Reference and related electronic documentation // included with the MFC C++ library software. // License terms to copy, use or distribute the Fluent UI are available separately. // To learn more about our Fluent UI licensing program, please visit // http://msdn.microsoft.com/officeui. // // Copyright (C) Microsoft Corporation // All rights reserved. #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() };
By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.
If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.
This article, along with any associated source code and files, is licensed under The Apache License, Version 2.0