// LTSCView.h : interface of the CLTScrCprView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_LTSCVIEW_H__0F1FDEEE_0C45_11D3_9A58_0060087C0C73__INCLUDED_) #define AFX_LTSCVIEW_H__0F1FDEEE_0C45_11D3_9A58_0060087C0C73__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CLTScrCprView : public CView { protected: // create from serialization only CLTScrCprView(); DECLARE_DYNCREATE(CLTScrCprView) // Attributes public: LBitmapWindow m_LBmpWnd; // Bitmap window CLTScrCprDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CLTScrCprView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual BOOL PreCreateWindow(CREATESTRUCT& cs); protected: virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL afx_msg LRESULT OnHandlePalette(WPARAM wParam, LPARAM lParam); // Palette Handler // Implementation public: virtual ~CLTScrCprView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CLTScrCprView) afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); afx_msg void OnEditCopy(); afx_msg void OnUpdateEditCopy(CCmdUI* pCmdUI); afx_msg void OnEditCut(); afx_msg void OnUpdateEditCut(CCmdUI* pCmdUI); afx_msg void OnFileSave(); afx_msg void OnUpdateFileSave(CCmdUI* pCmdUI); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: void GetFileName(L_TCHAR *); // Get the file name without path }; #ifndef _DEBUG // debug version in LTSCView.cpp inline CLTScrCprDoc* CLTScrCprView::GetDocument() { return (CLTScrCprDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_LTSCVIEW_H__0F1FDEEE_0C45_11D3_9A58_0060087C0C73__INCLUDED_)