RTFBitmapDlg.h
资源名称:rtfbitmap.zip [点击查看]
上传用户:zhoumin726
上传日期:2007-01-02
资源大小:38k
文件大小:2k
源码类别:
RichEdit
开发平台:
Visual C++
- // RTFBitmapDlg.h : header file
- //
- #if !defined(AFX_RTFBITMAPDLG_H__4D4BDDD6_2433_11D3_BBE2_0008C74513B2__INCLUDED_)
- #define AFX_RTFBITMAPDLG_H__4D4BDDD6_2433_11D3_BBE2_0008C74513B2__INCLUDED_
- #if _MSC_VER > 1000
- #pragma once
- #endif // _MSC_VER > 1000
- /////////////////////////////////////////////////////////////////////////////
- // CRTFBitmapDlg dialog
- class CRTFBitmapDlg : public CDialog
- {
- // Construction
- public:
- CRTFBitmapDlg(CWnd* pParent = NULL); // standard constructor
- // Dialog Data
- //{{AFX_DATA(CRTFBitmapDlg)
- enum { IDD = IDD_RTFBITMAP_DIALOG };
- // NOTE: the ClassWizard will add data members here
- //}}AFX_DATA
- // ClassWizard generated virtual function overrides
- //{{AFX_VIRTUAL(CRTFBitmapDlg)
- protected:
- virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
- //}}AFX_VIRTUAL
- // Implementation
- protected:
- HICON m_hIcon;
- // Generated message map functions
- //{{AFX_MSG(CRTFBitmapDlg)
- virtual BOOL OnInitDialog();
- afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
- afx_msg void OnPaint();
- afx_msg HCURSOR OnQueryDragIcon();
- //}}AFX_MSG
- DECLARE_MESSAGE_MAP()
- // Operations
- private:
- void InsertPlotBitmap();
- // Attributes
- private:
- CRichEditCtrl m_reportCtrl;
- LPSTORAGE m_lpStorage; // provides storage for m_lpObject
- LPLOCKBYTES m_lpLockBytes; // part of implementation of m_lpStorage
- LPOLEOBJECT m_lpObject; // in case you want direct access to the OLE object
- LPVIEWOBJECT2 m_lpViewObject;// IViewObject for IOleObject above
- };
- //{{AFX_INSERT_LOCATION}}
- // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
- #endif // !defined(AFX_RTFBITMAPDLG_H__4D4BDDD6_2433_11D3_BBE2_0008C74513B2__INCLUDED_)