root/AddressView.h

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

INCLUDED FROM


DEFINITIONS

This source file includes following definitions.
  1. CAddressView
  2. DECLARE_DYNCREATE

#if !defined(AFX_ADDRESSVIEW_H__96BCCE90_BF75_4E98_9818_CA3558DAB9B9__INCLUDED_)
#define AFX_ADDRESSVIEW_H__96BCCE90_BF75_4E98_9818_CA3558DAB9B9__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AddressView.h :
//

/////////////////////////////////////////////////////////////////////////////
// CAddressView フォーム ビュー

#ifndef __AFXEXT_H__
#include <afxext.h>
#endif

class CAddressView : public CFormView
{
protected:
        CAddressView();           // 動的生成に使用されるプロテクト コンストラクタ。
        DECLARE_DYNCREATE(CAddressView)

// フォーム データ
public:
        //{{AFX_DATA(CAddressView)
        enum { IDD = IDD_ADDRESSVIEW };
        CEdit   m_subject;
        CEdit   m_reply_to;
        CEdit   m_from;
        CEdit   m_cc;
//      CButton m_button_cc;
//      CButton m_button_bcc;
        CEdit   m_bcc;
//      CButton m_button_to;
        CEdit   m_to;
        //}}AFX_DATA

// アトリビュート
public:

// オペレーション
public:
        CEdit * GetFocusedEditCtrl();
        void SplitAddress(CString& cstr, CStringArray& cstra);
        CString GetFrom();
        CString GetReplyTo();
        CString GetSubject();
        CString GetBcc();
        CString GetCc();
        CString GetTo();
        void Complete();
        CBrush m_br;
protected:
        int m_index_address;

// オーバーライド
        // ClassWizard は仮想関数のオーバーライドを生成します。
        //{{AFX_VIRTUAL(CAddressView)
        public:
        virtual void OnInitialUpdate();
        virtual BOOL PreTranslateMessage(MSG* pMsg);
        protected:
        virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV サポート
        virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
        virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
        //}}AFX_VIRTUAL

// インプリメンテーション
protected:
        virtual ~CAddressView();
#ifdef _DEBUG
        virtual void AssertValid() const;
        virtual void Dump(CDumpContext& dc) const;
#endif

        // 生成されたメッセージ マップ関数
        //{{AFX_MSG(CAddressView)
        afx_msg void OnSize(UINT nType, int cx, int cy);
        afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
        afx_msg void OnTo();
        afx_msg void OnCc();
        afx_msg void OnBcc();
        //}}AFX_MSG
        DECLARE_MESSAGE_MAP()
private:
        int m_complete_next;
};

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

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

#endif // !defined(AFX_ADDRESSVIEW_H__96BCCE90_BF75_4E98_9818_CA3558DAB9B9__INCLUDED_)

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