www.pudn.com > 6433624505.rar > LookView.h
#if !defined(AFX_LOOKVIEW_H__DCD20FDF_1A29_49E6_9D84_C9CC949575CF__INCLUDED_)
#define AFX_LOOKVIEW_H__DCD20FDF_1A29_49E6_9D84_C9CC949575CF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LookView.h : header file
//
#include "Tableinfor.h"
/////////////////////////////////////////////////////////////////////////////
// CLookView dialog
class CLookView : public CDialog
{
// Construction
public:
CLookView(CWnd* pParent = NULL); // standard constructor
virtual BOOL OnInitDialog();
_ConnectionPtr pConn;
_RecordsetPtr pRst;
CBitmap m_bitmapground;
// Dialog Data
//{{AFX_DATA(CLookView)
enum { IDD = IDD_ALLVIEW };
CBitmapButton m_Refresh;
CBitmapButton m_LookView;
CBitmapButton m_Delete;
CBitmapButton m_Close;
CListCtrl m_List;
CString m_Edit;
//}}AFX_DATA
typedef struct VIEWIN
{
CString viewname;
CString viewuser;
CString Textlength;
CString Text;
}viewin;
std::vector View;
int cursel;
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CLookView)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
CTableinfor viewinfor;
// Generated message map functions
//{{AFX_MSG(CLookView)
afx_msg void OnRefresh();
afx_msg void OnLookview();
afx_msg void OnDeleteview();
afx_msg void OnClickViewlist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnDblclkViewlist(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnPaint();
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_LOOKVIEW_H__DCD20FDF_1A29_49E6_9D84_C9CC949575CF__INCLUDED_)