<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_李楠的冬天</title><subtitle type="text">技术文档</subtitle><id>http://feed.cnblogs.com/blog/u/34627/rss</id><updated>2010-03-17T07:14:10Z</updated><author><name>NANLEE</name><uri>http://www.cnblogs.com/kingln/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kingln/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/34627/rss"/><entry><id>http://www.cnblogs.com/kingln/archive/2009/08/21/1551491.html</id><title type="text">MFC中PreTranslateMessage函数浅析</title><summary type="text">作用:PreTranslateMessage是消息在送给TranslateMessage函数之前被调用的，绝大多数本窗口的消息都要通过这里，比较常用，当需要在MFC之前处理某些消息时，常常要在这里添加代码.MFC消息控制流最具特色的地方是CWnd类的虚拟函数PreTranslateMessage()，通过重载这个函数，可以改变MFC的消息控制流程，甚至可以作一个全新的控制流出来。只有穿过消息队列的...</summary><published>2009-08-21T08:19:00Z</published><updated>2009-08-21T08:19:00Z</updated><author><name>NANLEE</name><uri>http://www.cnblogs.com/kingln/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kingln/archive/2009/08/21/1551491.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kingln/archive/2009/08/21/1551491.html"/></entry><entry><id>http://www.cnblogs.com/kingln/archive/2009/07/27/1531853.html</id><title type="text">C++中，CTime 与 CString转换&amp;lt;转&amp;gt;</title><summary type="text">C++中，CTime 与CString转换CTime m_StartTime1 = CTime::GetCurrentTime();CString csStartTime = m_StartTime1.Format( "%Y%m%d%H%M%S" );使用sprintf及sscanf函数进行CString与CTime之间的转换 一.将CString转为CTime的几种方法CString  time...</summary><published>2009-07-27T03:12:00Z</published><updated>2009-07-27T03:12:00Z</updated><author><name>NANLEE</name><uri>http://www.cnblogs.com/kingln/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kingln/archive/2009/07/27/1531853.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kingln/archive/2009/07/27/1531853.html"/></entry><entry><id>http://www.cnblogs.com/kingln/archive/2009/03/18/1415669.html</id><title type="text">一个栈类的实现(链栈)</title><summary type="text">typedef struct LNode {int data;struct LNode *next;}LNode, *pLinkList;//类的声明class LinkList {private: pLinkList m_pList; int m_listLength;public: LinkList();~LinkList(); bool InitList (); bool DestroyLi...</summary><published>2009-03-18T09:24:00Z</published><updated>2009-03-18T09:24:00Z</updated><author><name>NANLEE</name><uri>http://www.cnblogs.com/kingln/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kingln/archive/2009/03/18/1415669.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kingln/archive/2009/03/18/1415669.html"/></entry><entry><id>http://www.cnblogs.com/kingln/archive/2009/03/18/1415640.html</id><title type="text">一个链表类的实现</title><summary type="text">赋值到VC上即可运行调试。typedef struct LNode{int data;struct LNode *next;}LNode, *pLinkList;//类的声明class LinkList {private:pLinkList m_pList;int m_listLength;public:LinkList();~LinkList();bool InitList ();bool De...</summary><published>2009-03-18T08:57:00Z</published><updated>2009-03-18T08:57:00Z</updated><author><name>NANLEE</name><uri>http://www.cnblogs.com/kingln/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kingln/archive/2009/03/18/1415640.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kingln/archive/2009/03/18/1415640.html"/></entry><entry><id>http://www.cnblogs.com/kingln/archive/2008/12/02/1346025.html</id><title type="text">堆和栈的区别 (转贴) </title><summary type="text">非本人作也!因非常经典,所以收归旗下,与众人阅之!原作者不祥!堆和栈的区别一、预备知识—程序的内存分配一个由c/C++编译的程序占用的内存分为以下几个部分1、栈区（stack）—由编译器自动分配释放，存放函数的参数值，局部变量的值等。其操作方式类似于数据结构中的栈。2、堆区（heap）—一般由程序员分配释放，若程序员不释放，程序结束时可能由OS回收。注意它与数据结构中的堆是两回事，分配方式倒是类似...</summary><published>2008-12-02T08:40:00Z</published><updated>2008-12-02T08:40:00Z</updated><author><name>NANLEE</name><uri>http://www.cnblogs.com/kingln/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kingln/archive/2008/12/02/1346025.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kingln/archive/2008/12/02/1346025.html"/></entry><entry><id>http://www.cnblogs.com/kingln/archive/2008/11/12/1331876.html</id><title type="text">李楠_Mobile电子词典_项目总结_080909</title><summary type="text">项目总结---李楠 总结一下吧！前段日子里做了包括&amp;#8221;词典开发&amp;#8221;的几个小项目,大家伙做得还算顺利，值得高兴的是我们一直以前配合的挺不错的，交流起来没有什么障碍，应该说互相能取长补短吧。做了几样东西也算是为公司做了点贡献吧。心里挺舒服的，特别是听说我们做的课程表，三个词典，还有树理化公式浏览器是放到Q8上的更是比较兴奋。现在这几个项目都完成了，要做的就是不断地根据北京那边的反馈...</summary><published>2008-11-12T03:07:00Z</published><updated>2008-11-12T03:07:00Z</updated><author><name>NANLEE</name><uri>http://www.cnblogs.com/kingln/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kingln/archive/2008/11/12/1331876.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kingln/archive/2008/11/12/1331876.html"/></entry><entry><id>http://www.cnblogs.com/kingln/archive/2008/10/15/1311445.html</id><title type="text">关于写文件(系统API函数&amp;CFile类)</title><summary type="text">写文件是编程中很常用的手段。我们通常可以利用系统提供的API函数CreateFile去创建或打开一个文件(是创建还是打开在参数中可以设置)HANDLE CreateFile( LPCTSTR lpFileName,  DWORD dwDesiredAccess,  DWORD dwShareMode,  LPSECURITY_ATTRIBUTES lpSecurityAttributes,  DW...</summary><published>2008-10-15T02:19:00Z</published><updated>2008-10-15T02:19:00Z</updated><author><name>NANLEE</name><uri>http://www.cnblogs.com/kingln/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kingln/archive/2008/10/15/1311445.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kingln/archive/2008/10/15/1311445.html"/></entry><entry><id>http://www.cnblogs.com/kingln/archive/2008/10/14/1310662.html</id><title type="text">两个很常用的类CArray,CList</title><summary type="text">开始用过CArray这个非常好用的类(如何使用看这篇文章MFC数组类CArray的使用的操作详解 )。后来又发现CList这个类与它有些相似，于是Google了一下。在这里汇总一些比较好理解的说法去熟悉他们。以便在以后的编程中应用自如: TitleArray采用队列方式存储数据，因而其内部数据元素是以物理方式顺序排列的，所以检索、顺序执行GetAt()等函数的速度是相当快的。但是由于每次队列长度变...</summary><published>2008-10-14T03:45:00Z</published><updated>2008-10-14T03:45:00Z</updated><author><name>NANLEE</name><uri>http://www.cnblogs.com/kingln/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kingln/archive/2008/10/14/1310662.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kingln/archive/2008/10/14/1310662.html"/></entry><entry><id>http://www.cnblogs.com/kingln/archive/2008/09/18/1293494.html</id><title type="text">MFC程序对win32的封装总结（窗口类的注册,窗口的创建，窗口的窗口过程指定）</title><summary type="text">首先来一张类结构层次图然后我们进入讨论的正题吧！CWinApp* pApp = AfxGetApp(),GfxGetApp是取得当前CMyApp的对象的一个函数 这样我们用当前的App对象(派生类)附值给CWinApp指针(父类)。这样下面pApp.InitInstance()调用的就是派生类的因为它是虚函数，如果派生类没有重写那就调用基类一层一层往上找标号为3，4处： 首先InitApplica...</summary><published>2008-09-18T08:52:00Z</published><updated>2008-09-18T08:52:00Z</updated><author><name>NANLEE</name><uri>http://www.cnblogs.com/kingln/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kingln/archive/2008/09/18/1293494.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kingln/archive/2008/09/18/1293494.html"/></entry><entry><id>http://www.cnblogs.com/kingln/archive/2008/09/16/1291938.html</id><title type="text">Windows Mobile中使用html控件[转]</title><summary type="text">在某些特殊的应用场合，我们很想要一个类似IE功能的模块，定制自己的功能。HTML控件现在向我们张开了怀抱。稍稍奇怪的是，它并不完全支持WAP协议。看来，IE还是做了自己的解析。首先，我们要注册一下控件。把Htmlctrl.h包含进来，调用InitHTMLControl（）函数，里面的参数为应用程序句柄。以下代码在MFC中使用：VERIFY(InitHTMLControl(AfxGetInstanc...</summary><published>2008-09-16T10:18:00Z</published><updated>2008-09-16T10:18:00Z</updated><author><name>NANLEE</name><uri>http://www.cnblogs.com/kingln/</uri></author><link rel="alternate" href="http://www.cnblogs.com/kingln/archive/2008/09/16/1291938.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/kingln/archive/2008/09/16/1291938.html"/></entry></feed>
