// LTPDCVew.h : interface of the CLTPntDCView class // ///////////////////////////////////////////////////////////////////////////// #if !defined(AFX_LTPDCVEW_H__AB293E6E_103E_11D3_9A58_0060087C0C73__INCLUDED_) #define AFX_LTPDCVEW_H__AB293E6E_103E_11D3_9A58_0060087C0C73__INCLUDED_ #if _MSC_VER > 1000 #pragma once #endif // _MSC_VER > 1000 class CLTPntDCDoc; class CLTPntDCView : public CView { private: L_INT LoadImage(L_TCHAR *); // Load image by pass file name BMPRECTDLGDATA m_BmpRectDlgData; // Data structure to be passed to bitmap rect. dlg. // Attributes public: L_UINT32 m_uropCode; // ROP3 type LBitmapBase m_LeadBitmapBase; // bitmap L_UINT32 m_fDisplayFlags; L_BOOL m_bGetClient; protected: // create from serialization only CLTPntDCView(); DECLARE_DYNCREATE(CLTPntDCView) // Attributes public: CLTPntDCDoc* GetDocument(); L_BOOL HandlePalette(UINT uMsg,HWND hWnd); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CLTPntDCView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view protected: virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL // Implementation public: virtual ~CLTPntDCView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CLTPntDCView) afx_msg void OnGo(); afx_msg void OnSrccopy(); afx_msg void OnSrcpaint(); afx_msg void OnSrcand(); afx_msg void OnSrcinvert(); afx_msg void OnSrcerase(); afx_msg void OnNotsrccopy(); afx_msg void OnNotsrcerase(); afx_msg void OnMergecopy(); afx_msg void OnMergepaint(); afx_msg void OnPatcopy(); afx_msg void OnPatpaint(); afx_msg void OnPatinvert(); afx_msg void OnDstinvert(); afx_msg void OnBlackness(); afx_msg void OnWhiteness(); afx_msg void OnUpdateSrccopy(CCmdUI* pCmdUI); afx_msg void OnUpdateSrcpaint(CCmdUI* pCmdUI); afx_msg void OnUpdateSrcand(CCmdUI* pCmdUI); afx_msg void OnUpdateSrcinvert(CCmdUI* pCmdUI); afx_msg void OnUpdateSrcerase(CCmdUI* pCmdUI); afx_msg void OnUpdateNotsrccopy(CCmdUI* pCmdUI); afx_msg void OnUpdateNotsrcerase(CCmdUI* pCmdUI); afx_msg void OnUpdateMergecopy(CCmdUI* pCmdUI); afx_msg void OnUpdateMergepaint(CCmdUI* pCmdUI); afx_msg void OnUpdatePatcopy(CCmdUI* pCmdUI); afx_msg void OnUpdatePatpaint(CCmdUI* pCmdUI); afx_msg void OnUpdatePatinvert(CCmdUI* pCmdUI); afx_msg void OnUpdateDstinvert(CCmdUI* pCmdUI); afx_msg void OnUpdateBlackness(CCmdUI* pCmdUI); afx_msg void OnUpdateWhiteness(CCmdUI* pCmdUI); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); //}}AFX_MSG DECLARE_MESSAGE_MAP() }; #ifndef _DEBUG // debug version in LTPDCVew.cpp inline CLTPntDCDoc* CLTPntDCView::GetDocument() { return (CLTPntDCDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Visual C++ will insert additional declarations immediately before the previous line. #endif // !defined(AFX_LTPDCVEW_H__AB293E6E_103E_11D3_9A58_0060087C0C73__INCLUDED_)