湖边的白杨树

探索是一种乐趣

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2012年6月15日

摘要: VC 2005 中添加控件的成员变量.方法一:使用变量添加向导.右击控件->Add Variable (打开了 Add Member Variable Wizard) -> 输入Variable name 即可.例如在对话框里面添加一个Edit 控件,然后将它变成成员变量。右击一个Edit Control -> Add Variable -> 在 Variable name 里面输入edit1方法二: 手动添加以上动作等同于1) 在 XXXDlg.h 中对话框类中添加成员变量声明: public: CEdit edit1;2) 在 XXXDlg.cpp 的 DoData 阅读全文
posted @ 2012-06-15 15:07 fdyang 阅读(600) 评论(0) 推荐(0)

2012年6月13日

摘要: 在Win32环境中,每个运行的应用程序都建立一个进程(Process),每个进程有一个或多个执行线程(Thread)组成.MFC把执行的线程封装在CWinThread类中,它还包括了同步类,这些类封装了事件,互斥,和可在Windows核心中找到的其他线程同步对象。MFC区分了两种不同类型的线程: 用户界面线程(user-interface thread) 和工作者线程(worker thread).两者的主要区别在于user-interface thread有消息循环,而工作者线程没有。user-interface thread 可以创建窗口和处理发送给这些窗口的消息。worker threa 阅读全文
posted @ 2012-06-13 11:19 fdyang 阅读(1932) 评论(0) 推荐(0)

2012年6月12日

摘要: 批处理 ShellExecute(null, "open ", "c:\\abc.bat ", " ", " ",SW_SHOW ); 深入浅出ShellExecute 译者:徐景周(原作:Nishant S) Q: 如何打开一个应用程序? 正如您所看到的,我并没有传递程序的完整路径。 Q: 如何打开一个同系统程序相关连的文档? ShellExecute(this-> m_hWnd, "open ","c:\\abc.txt ", " ", &quo 阅读全文
posted @ 2012-06-12 12:08 fdyang 阅读(3263) 评论(0) 推荐(0)

摘要: STL 即 Standard Template Library STL(标准模板库)是惠普实验室开发的一系列软件的统称。它是由Alexander Stepanov、Meng Lee和David R Musser在惠普实验室工作时所开发出来的。现在虽说它主要出现在C++中,但在被引入C++之前该技术就已经存在了很长的一段时间。STL的代码从广义上讲分为三类:algorithm(算法)、container(容器)和iterator(迭代器),几乎所有的代码都采用了模板类和模版函数的方式,这相比于传统的由函数和类组成的库来说提供了更好的代码重用机会。在C++标准中,STL被组织为下面... 阅读全文
posted @ 2012-06-12 08:38 fdyang 阅读(372) 评论(0) 推荐(0)

2012年6月7日

摘要: 软件项目管理是为了使软件项目能够按照预定的成本、进度、质量顺利完成,而对人员(People)、产品(Product)、过程(Process)和项目(Project)进行分析和管理的活动。软件项目管理的根本目的是为了让软件项目尤其是大型项目的整个软件生命周期(从分析、设计、编码到测试、维护全过程)都能在管理者的控制之下,以预定成本按期,按质的完成软件交付用户使用。软件项目管理的内容主要包括如下几个方面:人员的组织与管理,软件度量,软件项目计划,风险管理,软件质量保证,软件过程能力评估,软件配置管理等。软件项目的控制 对于软件开发项目而言,控制是十分重要的管理活动。下面介绍软件工程控制活动中的质. 阅读全文
posted @ 2012-06-07 09:53 fdyang 阅读(270) 评论(0) 推荐(0)

摘要: Software Quality Assurance (SQA) SQA consists of a means of monitoring the software engineering processes and methods used to ensure quality.SQA encompasses the entire software development process, which includes processes such as requirements definition, software design , coding , source code contr 阅读全文
posted @ 2012-06-07 09:02 fdyang 阅读(189) 评论(0) 推荐(0)

摘要: Software Development Life Cycle (SDLC).SDLC,aslo known as a Software Development Process, is a structrue imposed on the development of a software product.Software developemment activites.1.Planning - An important task in creating a software program is extracting the requirements or requirements ana. 阅读全文
posted @ 2012-06-07 08:38 fdyang 阅读(205) 评论(0) 推荐(0)

2012年6月6日

摘要: HRESULTWhat we should know about HRESULT ?- HRSULT is a kind of Data Type ( Long 32bit) which is used for Windows. - It is The return codes used by COM interfaces.- To test an HRESULT value, use the FAILED and SUCCESSED macros.- This type is declared in WinNT.h as follows: typedef LONG HRESULT; Stru 阅读全文
posted @ 2012-06-06 08:29 fdyang 阅读(1505) 评论(0) 推荐(0)

2012年6月5日

摘要: 原文:http://msdn.microsoft.com/en-us/library/windows/desktop/aa383751(v=vs.85).aspxThe data types supported by Windows are used to define function return values, function and message parameters, and structure members. They define the size and meaning of these elements. For more information about the u 阅读全文
posted @ 2012-06-05 10:05 fdyang 阅读(625) 评论(0) 推荐(0)

2012年6月4日

摘要: CListBox如下继承关系COBject : CCmdTarget : CWnd : CListBox *说明:下面英文部分摘自MSDN MFC Reference.In a single-selection list box, the user can select only one item.In a multiple-selection list box, a range of itmes can be selected.When the user selects an item, it is highliaged and the list box sends a notificati 阅读全文
posted @ 2012-06-04 15:19 fdyang 阅读(11342) 评论(0) 推荐(0)