⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 addressview.h

📁 地址本
💻 H
字号:
// AddressView.h : interface of the CAddressView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_ADDRESSVIEW_H__DDB8607D_B0EF_11D2_9848_008048E6DC7F__INCLUDED_)
#define AFX_ADDRESSVIEW_H__DDB8607D_B0EF_11D2_9848_008048E6DC7F__INCLUDED_

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

#include "AddressCtrl.h"

class CAddressView : public CFormView
{
protected: // create from serialization only
	CAddressView();
	DECLARE_DYNCREATE(CAddressView)
	CFont ftTimes;

public:
	//{{AFX_DATA(CAddressView)
	enum{ IDD = IDD_ADDRESS_FORM };
	CAddressCtrl	wndList;
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA

// Attributes
public:
	CAddressDoc* GetDocument();
	// m_pSelection holds the selection to the current CAddressCntrItem.
	// For many applications, such a member variable isn't adequate to
	//  represent a selection, such as a multiple selection or a selection
	//  of objects that are not CAddressCntrItem objects.  This selection
	//  mechanism is provided just to help you get started.

    long GetExInfoCallback(LXHDREX * pLx);
    void GetTextCallback(int iIndex, int iSubItem, long lCode, CString &cs);
// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CAddressView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual void OnUpdate(CView* pSender, LPARAM lHint, CObject* pHint);
	//}}AFX_VIRTUAL
    LRESULT OnListExNotify(WPARAM wParam, LPARAM lParam);

// Implementation
public:
	virtual ~CAddressView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CAddressView)
	afx_msg void OnDestroy();
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnCancelEditCntr();
	afx_msg void OnGetdispinfoAddresslist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnItemchangedAddresslist(NMHDR* pNMHDR, LRESULT* pResult);
	afx_msg void OnDelete();
	afx_msg void OnHeaderformat();
	afx_msg void OnCustomizeheader();
	afx_msg void OnAutopreview();
	afx_msg void OnUpdateAutopreview(CCmdUI* pCmdUI);
	afx_msg void OnProperties();
	afx_msg void OnDial();
	afx_msg void OnDialhome();
	afx_msg void OnDialbusiness();
	afx_msg void OnEmail();
	afx_msg void OnUpdateDialbusiness(CCmdUI* pCmdUI);
	afx_msg void OnUpdateDialhome(CCmdUI* pCmdUI);
	afx_msg void OnUpdateEmail(CCmdUI* pCmdUI);
	afx_msg void OnUpdateProperties(CCmdUI* pCmdUI);
	afx_msg void OnUpdateDelete(CCmdUI* pCmdUI);
	afx_msg void OnUpdateDial(CCmdUI* pCmdUI);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in AddressView.cpp
inline CAddressDoc* CAddressView::GetDocument()
   { return (CAddressDoc*)m_pDocument; }
#endif

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_ADDRESSVIEW_H__DDB8607D_B0EF_11D2_9848_008048E6DC7F__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -