📄 ngimagelist.h
字号:
#if !defined(__NGImageList_H__)
#define __NGImageList_H__
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// NGImageList.h : header file
//
#define SMALL_ICON_CX 16
#define SMALL_ICON_CY 16
typedef CMap<UINT, UINT, int, int&>CMapIdToIndex;
/////////////////////////////////////////////////////////////////////////////
// CNGImageList class
#define CNGImageList_BASE CImageList
class NGLIB_EXT_CLASS CNGImageList : public CImageList
{
DECLARE_DYNAMIC(CNGImageList)
public:
CNGImageList(void);
virtual ~CNGImageList(void);
// Attributes
protected:
CMapIdToIndex m_mapImages;
// Operations
public:
int AddIcon(UINT uID, UINT uFlags = LR_DEFAULTCOLOR);
// Overrides
public:
protected:
// Implementation
protected:
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(__NGImageList_H__)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -