#if !defined(__oc2wlwnv_h) // Sentry, use file only if it's not already included. #define __oc2wlwnv_h /***************************************************************************** * * Copyright (c) 1999, KL GROUP INC. All Rights Reserved. * http://www.klgroup.com * * This file is provided for demonstration and educational uses only. * Permission to use, copy, modify and distribute this file for * any purpose and without fee is hereby granted, provided that the * above copyright notice and this permission notice appear in all * copies, and that the name of KL Group not be used in advertising * or publicity pertaining to this material without the specific, * prior written permission of an authorized representative of * KL Group. * * KL GROUP MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY * OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED * TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR * PURPOSE, OR NON-INFRINGEMENT. KL GROUP SHALL NOT BE LIABLE FOR ANY * DAMAGES SUFFERED BY USERS AS A RESULT OF USING, MODIFYING OR * DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. */ /* Project oc2owl OVERVIEW ======== Class definition for oc2owlWindowView (TWindowView). */ #include #pragma hdrstop #include "oc2wlapp.rh" // Definition of all resources. //{{TWindowView = oc2owlWindowView}} class oc2owlWindowView : public TWindowView { public: oc2owlWindowView (TDocument& doc, TWindow* parent = 0); virtual ~oc2owlWindowView (); //{{oc2owlWindowViewVIRTUAL_BEGIN}} public: virtual void Paint (TDC& dc, bool erase, TRect& rect); virtual bool Create (); TChart2D *Chart; TChart2DData *Data; //{{oc2owlWindowViewVIRTUAL_END}} //{{oc2owlWindowViewRSP_TBL_BEGIN}} protected: void EvGetMinMaxInfo (MINMAXINFO far& minmaxinfo); void EvSize(uint sizeType, TSize& size); bool EvQueryNewPalette (); void EvPaletteChanged (HWND hWndPalChg); void EvSetFocus (HWND hWndLostFocus ); //{{oc2owlWindowViewRSP_TBL_END}} LRESULT EvXrtPaletteChanged(WPARAM wParam, LPARAM lParam); DECLARE_RESPONSE_TABLE(oc2owlWindowView); }; //{{oc2owlWindowView}} #endif // __oc2wlwnv_h sentry.