Python
Java
PHP
IOS
Android
Nodejs
JavaScript
Html5
Windows
Ubuntu
Linux
C++类上使用属性(__declspec property)
原始代码如下 class A private int m nIndex public int getIndex return m nIndex void setIndex int value m nIndex value 如果采用属性方式实
工作随笔篇
C 语言教程
VC(日积月累篇)
VC++ HBITMAP保存文件
请先看下面这段代码 BOOL SaveBmp HBITMAP bmp string path FILE f fopen path c str wb if f return 0 BITMAP bmpinfo GetObject bmp siz
工作随笔篇
VC(日积月累篇)
VC(图像处理篇)
VC
HBITMAP
多语言版本 OPENFILENAME过滤器设置问题
正常的时候 打开并选择一个文件这样写代码 char szFileName MAX PATH 0 OPENFILENAME ofn memset szFileName 0 MAX PATH memset ofn 0 sizeof ofn of
工作随笔篇
VC(日积月累篇)
VC(基础篇)
VC++ 图像颜色调节
1 BMP图片在GDI方式下贴图 32位位图 半透明像素会显示黑色或白底 像素处理代码 void CrossImage CImage img if img IsNull return 确认该图像包含Alpha通道 if img GetBPP
VC(基础篇)
VC(日积月累篇)
VC(图像处理篇)
多语言版本 UI资源切换
1 如果窗体资源和源码里面所使用的字符串资源 都已经存在于资源视图里面 则通过下面方式来实现 LANGID lid GetSystemDefaultLangID if 0x0809 lid 英语 0x0809 SetThreadUILang
工作随笔篇
VC(日积月累篇)
VC(基础篇)
VC++ MapWinGis篇(创建图层)
MapWinGis控件的引用 import MapWinGIS ocx rename IImage gisIImage rename ImageType gisImageType rename Point gisPoint using na
MapWinGIS
VC(日积月累篇)
VC++ GDI+将CDC保存为图片文件(bmp、jpg、png)
int GetEncoderClsid const wchar t format CLSID pClsid UINT num 0 UINT size 0 ImageCodecInfo pImageCodecInfo NULL GetImag
VC(基础篇)
VC(日积月累篇)
VC(图像处理篇)
«
1
2