You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

30 lines
896 B
C++

#pragma once
//用户管理
class CDlgAuthorityAccount : public CDialogEx
{
DECLARE_DYNAMIC(CDlgAuthorityAccount)
public:
CDlgAuthorityAccount(CWnd* pParent = NULL); // 标准构造函数
virtual ~CDlgAuthorityAccount();
void IniUserList();
void UpdateUserList();
int GetCurListIdx(CListCtrl &list);
// 对话框数据
enum { IDD = IDD_USER_MGR };
private:
CListCtrl m_UserList;
int m_CurSelIdx;//当前选中索引
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV 支持
virtual BOOL OnInitDialog();
DECLARE_MESSAGE_MAP()
public:
afx_msg BOOL PreTranslateMessage(MSG* pMsg);
afx_msg void OnNMClickUserList(NMHDR *pNMHDR, LRESULT *pResult);
afx_msg void OnBnClickedDelSel();
afx_msg void OnBnClickedCreatAccount();
afx_msg void CDlgAuthorityAccount::OnBnClickedOpenAuthorityDlg();
};