📄 accounttreeview.h
字号:
#if !defined(AFX_ACCOUNTTREEVIEW_H__F69939FC_99E9_405A_8E04_8413B583837D__INCLUDED_)
#define AFX_ACCOUNTTREEVIEW_H__F69939FC_99E9_405A_8E04_8413B583837D__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// AccountTreeView.h : header file
//
//自定义消息
#define WM_UPDATETREE WM_USER + 100
#define WM_UPDATETREEITEM WM_USER + 103
/////////////////////////////////////////////////////////////////////////////
// CAccountTreeView view
#include "InputPwd.h"
#include "PersonFrame.h"
class CAccountTreeView : public CTreeView
{
public:
CAccountTreeView();
virtual ~CAccountTreeView();
DECLARE_DYNCREATE(CAccountTreeView)
CImageList m_imagerlist;
// // CInputPwd *m_pinput_pwd;
// CAccountAttribute account_attribute;
CString current_user;
// Operations
public:
void SetCurrentUser(CString &user);
void GetCurrentUser(CString &user);
int GetCurrentItem();
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CAccountTreeView)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
//}}AFX_VIRTUAL
// Implementation
protected:
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(CAccountTreeView)
afx_msg void OnDblclk(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnSelchanged(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnRButtonDown(UINT nFlags, CPoint point);
//}}AFX_MSG
afx_msg LONG updatTreeView(WPARAM wParam, LPARAM lParam);
afx_msg LONG updateTreeItem(WPARAM wParam, LPARAM lParam);
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_ACCOUNTTREEVIEW_H__F69939FC_99E9_405A_8E04_8413B583837D__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -