- 博客(5)
- 资源 (1)
- 收藏
- 关注
原创 文件读写
读文件spAttriStyleInfo AttributeFile::ReadPointAttrFile(const string& filename){ spAttriStyleInfo spVO(new AttriStyleInfo()); ifstream ifs; /*ifs.exceptions ( ifstream::eofbit | ifstream::badbit | ifst
2006-05-20 16:11:00 1041
原创 错误类型自定义
.h文件#pragma once#include #include class ArdError : public std::logic_error{public: enum ARD_ERROR_TYPE { FILE_OPEN_FAILURE, FILE_READ_FAILURE, }; ArdError(const char * errMsg); ArdError(std:
2006-05-20 16:07:00 1024
原创 Button显示颜色
.h文件// ecolorbtn.h : ヘッダー ファイル//#ifndef _ECOLOR_BUTTON_#define _ECOLOR_BUTTON_class EColorBtn : public CButton{// コンストラクションpublic: EColorBtn( ); ~EColorBtn( );// アトリビュートpublic: void SetColor(CO
2006-05-20 16:00:00 1038
原创 CComboBoxEx显示256色图片
void CPntAttrInpDlg::InitComboSty(){ _imagelist.Create(60, 20, ILC_COLOR16, 0, 10); CBitmap bitmap; int imageCount = sizeof(MARKER_STYLE) / sizeof(int); for(int i = 0; i { bitmap.LoadBitmap(MARKER
2006-05-20 15:53:00 1255
原创 CListCtrl上显示的图片涂上颜色
解決方案: void CPntAttrRegDlg::InitListAtt(){ CBitmap bmp; if (_imageList != NULL) { delete _imageList ; _imageList = NULL ; } _imageList = new CImageList(); ASSERT(_imageList != NULL); // ser
2006-05-20 15:29:00 1258
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人