- 博客(12)
- 资源 (4)
- 收藏
- 关注
原创 SetModifiedFlag( BOOL bModified = TRUE )的MSDN解析
void SetModifiedFlag( BOOL bModified = TRUE );ParametersbModifiedFlag indicating whether the document has been modified. RemarksCa
2011-08-29 08:33:31 1621
原创 SetScrollSizes( nMapMode, GetDocument( )->GetMyDocSize( ) )中的MSDN解释
void SetScrollSizes( int nMapMode, SIZEsizeTotal, const SIZE& sizePage = sizeDefault, const SIZE&sizeLine = sizeDefault );Parameters
2011-08-29 07:40:01 1729
原创 图像处理——灰度直方图的建立中遇到的几个问题解析
一 GlobalLock 函数的功能:MSDN定义:The GlobalLock function locks a global memory object and returns a pointer to the first byte of the object's m
2011-08-26 10:53:11 981
原创 "A duplicate insert block exists for class......"的解决办法
新建一个MFC对话框时,添加一个构造函数:再打开ClassWizard时,将会提示这个:A duplicate insert block exists for class......"删除 //{{AFX_MSG_MAP(CImageProcessingView)
2011-08-26 07:24:59 2980
原创 什么是bmp格式图片
BMP是一种与硬件设备无关的图像文件格式,也是我们最常在PC机上的Windows系统下见到的标准位图格式,使用范围很广泛。它采用位映射存储格式,除了图像深度可选以外,不采用其他任何压缩,因此,BMP文件所占用的空间很大。它最大的好处就是能被大多数软件“接受”,可称为通用格式。 B
2011-08-25 22:39:48 1747
原创 图像处理过程中图像不能加载的其中一个原因解答
我做了一个图像处理程序,编译是正确的,但是加载不进去BMP格式的图片,找了好久的原因,终于被我找到了:需要在void CImageProcessingDoc::Serialize(CArchive& ar){ if (ar.IsStoring()) {
2011-08-24 20:44:59 1387
原创 C语言问题——int argc,char *argv[]的解析
#include main (int argc,char *argv[]) { int n=0,i; for(i=1;in=n*10+*argv[i]-'0'; printf("%d\n",n); }输入一下命令:tt 12 345 678
2011-08-21 17:08:07 904
原创 Python 3.2中运行文件的步骤
一 file-windows->new打开新的一个文件二 在文件中写下该文件的内容,并保存(注意:保存的名称后面一定要加.py后缀)三 单击run->run module(F5).四 运行的结果显示在IDLE界面中,之后就可以用import导入了。
2011-08-17 22:02:11 811
原创 VC中加载外部动态链接库的步骤:
一 把.dll,.h复制到工程文件中二 加载.h头文件到.cpp中三 加载.lib到project->seting->link->object中
2011-08-14 11:17:35 1007
原创 LPTSTR解释
与char*等价,表示普通字符/字符串变量,指向字符/字符串的指针。 LP:长指针(long pointer)。 T:win32环境中有一个_T宏,用来标识字符是否采用Unicode编码(两字节表示一个字符),若程序中定义了Unicode,该字符/字符串被作为
2011-08-12 11:16:42 675
原创 VC绘图中的坐标缩放
菜单中的更新,必须在该菜单的函数最后添加函数 CMainFrame *pMainWnd=(CMainFrame*)AfxGetMainWnd(); pMainWnd->GetActiveView()->Invalidate();
2011-08-11 21:35:18 1223
原创 MFC中的DoDataExchange(CDataExchange *pDX)
DoDataExchange(CDataExchange *pDX) 在对话框中有这么一个函数其作用是与对应的变量交换对话框数据MSDN 解释为: Called by the framework to excha
2011-08-11 09:01:53 11950 1
原版英文教材《Beginning SQL》作者Paul Wilton and John W. Colby
2010-12-20
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人