createcheckboximagelist.h

来自「读取XML信息」· C头文件 代码 · 共 31 行

H
31
字号
// CreateCheckboxImageList.h  Version 1.0
//
// Author:  Hans Dietrich
//          hdietrich@gmail.com
//
// License:
//     This software is released into the public domain.  You are free to use
//     it in any way you like, except that you may not sell this source code.
//
//     This software is provided "as is" with no expressed or implied warranty.
//     I accept no liability for any damage or loss of business that this 
//     software may cause.
//
///////////////////////////////////////////////////////////////////////////////

#ifndef CREATECHECKBOXIMAGELIST_H
#define CREATECHECKBOXIMAGELIST_H

namespace HDCheckboxImageList
{
	const UINT HOT_INDEX		= 8;
	const UINT DISABLED_INDEX	= 4;

	BOOL CreateCheckboxImageList(CDC *pDC, 
								 CImageList& imagelist, 
								 int nSize, 
								 COLORREF crBackground);
}

#endif //CREATECHECKBOXIMAGELIST_H

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?