Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members

VCPaintXDemoDlg.h

00001 // VCPaintXDemoDlg.h : header file
00002 //
00003 //{{AFX_INCLUDES()
00004 #include "image.h"
00005 //}}AFX_INCLUDES
00006 
00007 #ifdef _DEBUG
00008   #import "..\..\bin\debug\PaintX.dll"
00009 #else
00010   #import "..\..\bin\release\PaintX.dll"
00011 #endif
00012 
00013 #if !defined(AFX_VCPAINTXDEMODLG_H__9B270259_CDCA_11D3_8258_0020AF58A97B__INCLUDED_)
00014 #define AFX_VCPAINTXDEMODLG_H__9B270259_CDCA_11D3_8258_0020AF58A97B__INCLUDED_
00015 
00016 #if _MSC_VER > 1000
00017 #pragma once
00018 #endif // _MSC_VER > 1000
00019 
00020 /////////////////////////////////////////////////////////////////////////////
00021 // CVCPaintXDemoDlg dialog
00022 
00023 class CVCPaintXDemoDlg : public CDialog
00024 {
00025 // Construction
00026 public:
00027         CVCPaintXDemoDlg(CWnd* pParent = NULL); // standard constructor
00028         void LoadPictureTest(CString strFilename);
00029         void LoadResPictureTest(int iResourceID);
00030 
00031 // Dialog Data
00032         //{{AFX_DATA(CVCPaintXDemoDlg)
00033         enum { IDD = IDD_VCPAINTXDEMO_DIALOG };
00034         CImage  m_Image;
00035         //}}AFX_DATA
00036 
00037         // ClassWizard generated virtual function overrides
00038         //{{AFX_VIRTUAL(CVCPaintXDemoDlg)
00039         protected:
00040         virtual void DoDataExchange(CDataExchange* pDX);        // DDX/DDV support
00041         //}}AFX_VIRTUAL
00042 
00043 // Implementation
00044 protected:
00045         HICON m_hIcon;
00046     PaintX::IPictureDecoderPtr MyPictureDecoder;
00047     void HandleErrors(_com_error comerr);
00048 
00049         // Generated message map functions
00050         //{{AFX_MSG(CVCPaintXDemoDlg)
00051         virtual BOOL OnInitDialog();
00052         afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
00053         afx_msg void OnPaint();
00054         afx_msg HCURSOR OnQueryDragIcon();
00055         afx_msg void OnClose();
00056         afx_msg void OnFileOpen();
00057         //}}AFX_MSG
00058         DECLARE_MESSAGE_MAP()
00059 };
00060 
00061 //{{AFX_INSERT_LOCATION}}
00062 // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
00063 
00064 #endif // !defined(AFX_VCPAINTXDEMODLG_H__9B270259_CDCA_11D3_8258_0020AF58A97B__INCLUDED_)

Generated on Sun Jun 6 13:42:22 2004 for paintlib by doxygen 1.3.2