root/MailEditView.h

/* [<][>][^][v][top][bottom][index][help] */

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. CMailEditView
  2. GetDocument

// MailEditView.h : CMailEditView クラスの宣言およびインターフェイスの定義をします。
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_MailEditView_H__B0C245CC_42EA_11D5_B88C_00008659960F__INCLUDED_)
#define AFX_MailEditView_H__B0C245CC_42EA_11D5_B88C_00008659960F__INCLUDED_

#include "PochyDoc.h"

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

class CMailEditView : public CRichEditView
{
protected: // シリアライズ機能のみから作成します。
        CMailEditView();
        DECLARE_DYNCREATE(CMailEditView)

// アトリビュート
public:
        CPochyDoc* GetDocument();

// オペレーション
public:
        void GetText(CString &buf);
        void Font();

// オーバーライド
        // ClassWizard は仮想関数のオーバーライドを生成します。
        //{{AFX_VIRTUAL(CMailEditView)
        public:
        virtual void OnDraw(CDC* pDC);  // このビューを描画する際にオーバーライドされます。
        virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
        virtual void OnInitialUpdate();
        protected:
        virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
        virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
        virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
        //}}AFX_VIRTUAL

// インプリメンテーション
public:
        CFont m_font;
        void SetFontEx(LOGFONT &lf);
        int GetPos();
        int m_font_size;
        virtual ~CMailEditView();
        void SetFontColorAndLink();
#ifdef _DEBUG
        virtual void AssertValid() const;
        virtual void Dump(CDumpContext& dc) const;
#endif
        long m_onlink;

protected:
        afx_msg void OnLink( NMHDR* in_pNotifyHeader, LRESULT* out_pResult );

// 生成されたメッセージ マップ関数
        //{{AFX_MSG(CMailEditView)
        afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
        afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
        afx_msg void OnEditPaste();
        afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
        afx_msg void OnEditviewPaste();
        afx_msg void OnEditviewCopy();
        afx_msg void OnEditviewSelall();
        afx_msg void OnEditviewCut();
        afx_msg void OnEditviewUndo();
        afx_msg void OnEditviewPasteQuotation();
        afx_msg void OnDropFiles(HDROP hDropInfo);
        //}}AFX_MSG
        DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // MailEditView.cpp ファイルがデバッグ環境の時使用されます。
inline CPochyDoc* CMailEditView::GetDocument()
   { return (CPochyDoc*)m_pDocument; }
#endif

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ は前行の直前に追加の宣言を挿入します。

#endif // !defined(AFX_MailEditView_H__B0C245CC_42EA_11D5_B88C_00008659960F__INCLUDED_)

/* [<][>][^][v][top][bottom][index][help] */