// FdLdView.h : interface of the CFeedLoadView class // ///////////////////////////////////////////////////////////////////////////// #include "UserFile.h" #include "FdLdDoc.h" #if !defined(AFX_FDLDVIEW_H__BD32EFAC_2954_11D3_A9A2_0060087BCBA0__INCLUDED_) #define AFX_FDLDVIEW_H__BD32EFAC_2954_11D3_A9A2_0060087BCBA0__INCLUDED_ #if _MSC_VER >= 1000 #pragma once #endif // _MSC_VER >= 1000 #define SIMULATEDBAUDRATE 28800 class CFeedLoadView : public CView { protected: // create from serialization only CFeedLoadView(); DECLARE_DYNCREATE(CFeedLoadView) // Attributes public: L_BOOL HandlePalette(UINT uMsg,HWND hWnd); CFeedLoadDoc* GetDocument(); // Operations public: // Overrides // ClassWizard generated virtual function overrides //{{AFX_VIRTUAL(CFeedLoadView) public: virtual void OnDraw(CDC* pDC); // overridden to draw this view virtual void OnInitialUpdate(); protected: virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam); virtual void OnActivateView(BOOL bActivate, CView* pActivateView, CView* pDeactiveView); //}}AFX_VIRTUAL // Implementation public: L_INT CFeedLoadView::SimulatedRecv (L_TCHAR * pszFile, L_INT nBitsPerPixel, L_INT nOrder, L_UINT uFlags); LBitmapBase m_LeadBitmap; virtual ~CFeedLoadView(); #ifdef _DEBUG virtual void AssertValid() const; virtual void Dump(CDumpContext& dc) const; #endif protected: // Generated message map functions protected: //{{AFX_MSG(CFeedLoadView) afx_msg void OnTimer(UINT nIDEvent); afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); //}}AFX_MSG DECLARE_MESSAGE_MAP() private: HCURSOR m_hOrigCursor; FILEINFO m_FileInfo; LUserFile m_LeadUserFile; L_INT m_nTimer; L_INT m_nCounter; }; #ifndef _DEBUG // debug version in FdLdView.cpp inline CFeedLoadDoc* CFeedLoadView::GetDocument() { return (CFeedLoadDoc*)m_pDocument; } #endif ///////////////////////////////////////////////////////////////////////////// //{{AFX_INSERT_LOCATION}} // Microsoft Developer Studio will insert additional declarations immediately before the previous line. #endif // !defined(AFX_FDLDVIEW_H__BD32EFAC_2954_11D3_A9A2_0060087BCBA0__INCLUDED_)