Restructure repository to include all source folders
Move git root from Client/ to src/ to track all source code: - Client: Game client source (moved to Client/Client/) - Server: Game server source - GameTools: Development tools - CryptoSource: Encryption utilities - database: Database scripts - Script: Game scripts - rylCoder_16.02.2008_src: Legacy coder tools - GMFont, Game: Additional resources 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
48
Server/ToolProject/GameDBTool/ControlEx/ListViewControl.h
Normal file
48
Server/ToolProject/GameDBTool/ControlEx/ListViewControl.h
Normal file
@@ -0,0 +1,48 @@
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////
|
||||
//
|
||||
// CListViewControl
|
||||
//
|
||||
//////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#ifndef _CListViewControl
|
||||
#define _CListViewControl
|
||||
|
||||
#include <afxcmn.h> // MFC support for Windows Common Controls
|
||||
#include "InPlaceEdit.h"
|
||||
#include "InPlaceList.h"
|
||||
|
||||
#define IDC_IPEDIT 4321
|
||||
|
||||
const unsigned int CT_NORMAL = 0;
|
||||
const unsigned int CT_EDIT = 1;
|
||||
const unsigned int CT_COMBO = 2;
|
||||
|
||||
class CListViewControl : public CListCtrl
|
||||
{
|
||||
public:
|
||||
CListViewControl();
|
||||
virtual ~CListViewControl();
|
||||
|
||||
protected:
|
||||
//{{AFX_MSG(CCharList)
|
||||
afx_msg void OnCustomDraw(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
afx_msg void OnEndLableEdit(NMHDR* pNMHDR, LRESULT* pResult);
|
||||
afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
|
||||
afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
|
||||
afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
|
||||
//}}AFX_MSG
|
||||
|
||||
bool SetColumnType(int ColNum, unsigned int Type = CT_EDIT);
|
||||
bool SetColumnStringList(int ColNum, CStringList &StringList);
|
||||
|
||||
int HitTestEx(CPoint &point, int *col) const;
|
||||
CEdit* EditSubLabel(int nItem, int nCol);
|
||||
CComboBox* ShowInPlaceList(int nItem, int nCol, CStringList &lstItems, int nSel);
|
||||
|
||||
private:
|
||||
unsigned int m_ColType[100];
|
||||
CStringList m_ColumnStringList[100];
|
||||
|
||||
DECLARE_MESSAGE_MAP()
|
||||
};
|
||||
|
||||
#endif
|
||||
Reference in New Issue
Block a user