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

📄 userview.h

📁 用CJ60Lib界面库制作的SQL数据库客户与服务器程序。
💻 H
字号:
#if !defined(AFX_USERVIEW_H__F971A850_3A58_4DEA_B3F5_929FDA67EB4C__INCLUDED_)
#define AFX_USERVIEW_H__F971A850_3A58_4DEA_B3F5_929FDA67EB4C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UserView.h : header file
//

#include <afxcview.h>
#include "User.h"

/////////////////////////////////////////////////////////////////////////////
// CUserView view

class CUserView : public CListView
{
protected:
	CUserView();           // protected constructor used by dynamic creation
	DECLARE_DYNCREATE(CUserView)

// Attributes
public:
	int	ItemIndex;

// Operations
public:
	int GetProfile( DWORD );
	void DelDocItem( CString& );
	void InsertItem( CUser& );
	DWORD GetProfile( int );
	CString GetProfile( CUser& );

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CUserView)
	public:
	virtual void OnInitialUpdate();
	protected:
	virtual void OnDraw(CDC* pDC);      // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

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

	// Generated message map functions
protected:
	//{{AFX_MSG(CUserView)
	afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnAddUser();
	afx_msg void OnDelUser();
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	afx_msg void OnUserView();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_USERVIEW_H__F971A850_3A58_4DEA_B3F5_929FDA67EB4C__INCLUDED_)

⌨️ 快捷键说明

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