multibuff.h
来自「PocketPC上很好用的文件管理器,而且里面的封装性很好,学windows m」· C头文件 代码 · 共 33 行
H
33 行
#ifndef __MULTIBUFF_H__
#define __MULTIBUFF_H__
typedef int (CALLBACK *LPCOMPAREFUNC)(LPARAM, LPARAM, LPARAM);
typedef BOOL (CALLBACK *LPFINDFUNC)(LPARAM, LPARAM);
//#define __CHECK_VALUE
class CMultiBuff
{
protected:
DWORD* m_pData;
int m_nSize;
public:
CMultiBuff();
~CMultiBuff();
DWORD GetAt(int iPos);
void SetAt(int iPos, DWORD dwValue);
DWORD RemoveAt(int iPos);
void RemoveAll();
void Insert(DWORD dwValue);
int Add(DWORD dwValue);
int GetCount();
BOOL IsEmpty();
BOOL Sort(LPCOMPAREFUNC pfnCompare, DWORD dwParam);
int Find(LPFINDFUNC pfnFind, int iStart, DWORD dwParam);
};
#endif //!__MULTIBUFF_H__
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?