#if !defined(AFX_PICTUREVIEW_H__C5C0B95A_0CFC_4955_B268_773FED5B1E86__INCLUDED_)
#define AFX_PICTUREVIEW_H__C5C0B95A_0CFC_4955_B268_773FED5B1E86__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// PictureView.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CPictureView view
#include "apl_api.h"
#include <AplGuiEx.h>
#include <apl_image.h>

class CPictureView : public CScrollView
{
protected:
	CPictureView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CPictureView)

// Attributes
public:

// Operations
public:
	bool UpdatePicture(CaplInstance* Inst, CaplAPI* api);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPictureView)
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual void OnInitialUpdate();     // first time after construct
	//}}AFX_VIRTUAL

// Implementation
protected:
	CaplImage m_Picture;
	
	virtual ~CPictureView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

	// Generated message map functions
	//{{AFX_MSG(CPictureView)
		// NOTE - the ClassWizard will add and remove member functions here.
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_PICTUREVIEW_H__C5C0B95A_0CFC_4955_B268_773FED5B1E86__INCLUDED_)
