<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom"><title type="text">博客园_Control yourself and change your life</title><subtitle type="text">栽种思想，成就行为；栽种行为，成就习惯；栽种习惯，成就性格；栽种性格，成就命运！</subtitle><id>http://feed.cnblogs.com/blog/u/19269/rss</id><updated>2011-10-11T07:26:33Z</updated><author><name>鬼画符</name><uri>http://www.cnblogs.com/simba/</uri></author><generator>CNBlogs BlogServer</generator><link rel="alternate" type="text/html" href="http://www.cnblogs.com/simba/"/><link rel="self" type="application/atom+xml" href="http://feed.cnblogs.com/blog/u/19269/rss"/><entry><id>http://www.cnblogs.com/simba/archive/2011/10/11/2207357.html</id><title type="text">Delphi Invalidate的用法</title><summary type="text">1、Invalidate介绍 void Invalidate( BOOL bErase = TRUE ); 该函数的作用是使整个窗口客户区无效。窗口的客户区无效意味着需要重绘，例如，如果一个被其它窗口遮住的窗口变成了前台窗口，那么原来被遮住的部分就是无效的，需要重绘。这时Windows会在应用程序的消息队列中放置WM_PAINT消息。MFC为窗口类提供了WM_PAINT的消息处理函数OnPaint，OnPaint负责重绘窗口。视图类有一些例外，在视图类的OnPaint函数中调用了OnDraw函数，实际的重绘工作由OnDraw来完成。参数bErase为TRUE时，重绘区域内的背景将被擦除，否..</summary><published>2011-10-11T07:27:00Z</published><updated>2011-10-11T07:27:00Z</updated><author><name>鬼画符</name><uri>http://www.cnblogs.com/simba/</uri></author><link rel="alternate" href="http://www.cnblogs.com/simba/archive/2011/10/11/2207357.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/simba/archive/2011/10/11/2207357.html"/><content type="html">&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px;"&gt;1、Invalidate介绍　　void Invalidate( BOOL bErase = TRUE );&lt;br /&gt;　　该函数的作用是使整个窗口客户区无效。窗口的客户区无效意味着需要重绘，例如，如果一个被其它窗口遮住的窗口变成了前台窗口，那么原来被遮住的部分就是无效的，需要重绘。这时Windows会在应用程序的消息队列中放置WM_PAINT消息。MFC为窗口类提供了WM_PAINT的消息处理函数OnPaint，OnPaint负责重绘窗口。视图类有一些例外，在视图类的OnPaint函数中调用了OnDraw函数，实际的重绘工作由OnDraw来完成。参数bErase为TRUE时，重绘区域内的背景将被擦除，否则，背景将保持不变。&lt;br /&gt;2、与UpdateWindow( )的区别&lt;br /&gt;　　UpdateWindow( )的作用是使窗口立即重绘。调用Invalidate等函数后窗口不会立即重绘，这是由于WM_PAINT消息的优先级很低，它需要等消息队列中的其它消息发送完后才能被处理。调用UpdateWindow函数可使WM_PAINT被直接发送到目标窗口，从而导致窗口立即重绘。&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px;"&gt;Delphi中的代码&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px;"&gt;procedure TWinControl.Invalidate;&lt;br /&gt;begin&lt;br /&gt;&amp;nbsp; Perform(CM_INVALIDATE, 0, 0);&lt;br /&gt;end;&lt;/p&gt;&#xD;
&lt;p style="margin-top: 5px; margin-right: auto; margin-left: auto; margin-bottom: 5px; text-indent: 0px;"&gt;这个方法会使窗口重绘。&lt;/p&gt;&lt;img src="http://www.cnblogs.com/simba/aggbug/2207357.html?type=1" width="1" height="1" alt=""/&gt;&lt;p&gt;&lt;a href="http://www.cnblogs.com/simba/archive/2011/10/11/2207357.html" target="_blank"&gt;本文链接&lt;/a&gt;&lt;/p&gt;</content></entry><entry><id>http://www.cnblogs.com/simba/archive/2009/11/18/1605374.html</id><title type="text">英语邮件怎么写</title><summary type="text">平时，要是对方是个中国人，写写中式英语对方也能明白，要是对方是个老外的话，老外看到你的邮件就会很头大了。于是我开始整理一些素材，素材来源为外文出版社出版的一本主题丛书。动手敲了一遍，用思维导图的形式画出来，方便随时查看。1.Topics for E-mail writing - Common E-mail language/Files/simba/CommonLanguage.jpeg2.Topi...</summary><published>2009-11-18T06:51:00Z</published><updated>2009-11-18T06:51:00Z</updated><author><name>鬼画符</name><uri>http://www.cnblogs.com/simba/</uri></author><link rel="alternate" href="http://www.cnblogs.com/simba/archive/2009/11/18/1605374.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/simba/archive/2009/11/18/1605374.html"/></entry><entry><id>http://www.cnblogs.com/simba/archive/2009/11/17/1604920.html</id><title type="text">读书笔记《小狗钱钱》</title><summary type="text">前几天老婆推荐我看一本理财相关的书，说是教育小孩子建立理财意识的，非要我也看看，由此可见在她眼里我的理财意识只有幼儿园水平了。不过如果我算是幼儿园小班水平的话，她的理财意识估计也就中班水平吧。看就看吧，反正看书也不是啥坏事。为了便于温故，制作了一张思维导图，比较的乱，将就看看还是可以看明白这本书所讲的主要内容的。图片链接：http://images.cnblogs.com/cnblogs_com/...</summary><published>2009-11-17T13:47:00Z</published><updated>2009-11-17T13:47:00Z</updated><author><name>鬼画符</name><uri>http://www.cnblogs.com/simba/</uri></author><link rel="alternate" href="http://www.cnblogs.com/simba/archive/2009/11/17/1604920.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/simba/archive/2009/11/17/1604920.html"/></entry><entry><id>http://www.cnblogs.com/simba/archive/2009/11/17/1604735.html</id><title type="text">上车牌经历</title><summary type="text">自从上周六买车付完全款之后，4S店就不像之前电话那么勤快了，原因之一我想应该是最近A3卖得太火的缘故，另外很多人想搭上购置税减半的末班车，看车的人多，销售员都比较的忙。但是这种差异还是让我很不爽，而且钱已经付完了，车还在4S店，我很无奈，现在这个社会就是钱在谁手里谁就是爷，原本答应我周二或周三去上牌的承诺在我打电话去询问时居然想拖到下周再办理，这让我大为恼火。后来听朋友讲，一般4S店都是这副&amp;#8...</summary><published>2009-11-17T08:42:00Z</published><updated>2009-11-17T08:42:00Z</updated><author><name>鬼画符</name><uri>http://www.cnblogs.com/simba/</uri></author><link rel="alternate" href="http://www.cnblogs.com/simba/archive/2009/11/17/1604735.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/simba/archive/2009/11/17/1604735.html"/></entry><entry><id>http://www.cnblogs.com/simba/archive/2009/11/14/1603170.html</id><title type="text">买车了，发帖纪念一下</title><summary type="text">有买车的想法已经很久了，但是从真正决定买车到出手只有一个星期时间，上周末去4S店看车，谈价格，今天再去，就付款签协议选车了，接下来一周就是上保险上车牌和装璜，一切顺利的话，下周末就可以开始有车生活了。有车之后我想最大的改变就是生活半径变大了，而生活半径的扩大，我想提高的不仅仅是生活的质量了。支持国货：奇瑞A3 3厢标准版 红色</summary><published>2009-11-14T14:58:00Z</published><updated>2009-11-14T14:58:00Z</updated><author><name>鬼画符</name><uri>http://www.cnblogs.com/simba/</uri></author><link rel="alternate" href="http://www.cnblogs.com/simba/archive/2009/11/14/1603170.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/simba/archive/2009/11/14/1603170.html"/></entry><entry><id>http://www.cnblogs.com/simba/archive/2009/11/12/1601783.html</id><title type="text">Words to Live by</title><summary type="text">Words to Live by.I&amp;#8217;ll give you some advice about life.给你生活的忠告Eat more roughage;多吃些粗粮；Do more than others expect you to do and do it pains;给别人比他们期望的更多，并用心去做；Remember what life tells you;熟记生活告诉你的一...</summary><published>2009-11-12T06:28:00Z</published><updated>2009-11-12T06:28:00Z</updated><author><name>鬼画符</name><uri>http://www.cnblogs.com/simba/</uri></author><link rel="alternate" href="http://www.cnblogs.com/simba/archive/2009/11/12/1601783.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/simba/archive/2009/11/12/1601783.html"/></entry><entry><id>http://www.cnblogs.com/simba/archive/2009/11/11/1601371.html</id><title type="text">生气的时候不要做任何决定</title><summary type="text">as titled. 每个人都有两面性，一个是别人眼里的你，一个是真实的你，很多时候你并不了解真正的你。通常，你在做出一些决定，或者做出一些事情之后，冷静下来的时候你会很惊讶：我怎么做出那样的事情！？如果是做出了超出你能力的事情未必不是好事，那样你会体会到发现自身潜能的喜悦，但如果做出的事情是你平时所不齿并且深恶痛绝的事情，你会怎样看待这个你呢？写到这里，我也就找到答案了：控制你的情绪，不要被你的...</summary><published>2009-11-11T14:38:00Z</published><updated>2009-11-11T14:38:00Z</updated><author><name>鬼画符</name><uri>http://www.cnblogs.com/simba/</uri></author><link rel="alternate" href="http://www.cnblogs.com/simba/archive/2009/11/11/1601371.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/simba/archive/2009/11/11/1601371.html"/></entry><entry><id>http://www.cnblogs.com/simba/archive/2009/11/10/1599987.html</id><title type="text">好的技术不一定能给你带来财富，但是好的工具一定可以让你创造财富</title><summary type="text">As titled.Good Tools:C#ModelMakerMindManager</summary><published>2009-11-10T07:49:00Z</published><updated>2009-11-10T07:49:00Z</updated><author><name>鬼画符</name><uri>http://www.cnblogs.com/simba/</uri></author><link rel="alternate" href="http://www.cnblogs.com/simba/archive/2009/11/10/1599987.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/simba/archive/2009/11/10/1599987.html"/></entry><entry><id>http://www.cnblogs.com/simba/archive/2009/11/10/1599921.html</id><title type="text">Enterprise Library 学习笔记-01</title><summary type="text">曾听一个朋友说过Entireprise Library，记得从头至尾只听到他在那夸Entireprise Library 真TM好，真TM先进，于是，今天找了一些资料，觉得不错，由于记性不好，网上黏贴了一些资料过来，就当是自己的学习笔记了。制作了一张结构图，看起来一目了然，学习起来也有方向。Enterprise Library 是 Microsoft patterns &amp;amp; practice...</summary><published>2009-11-10T06:58:00Z</published><updated>2009-11-10T06:58:00Z</updated><author><name>鬼画符</name><uri>http://www.cnblogs.com/simba/</uri></author><link rel="alternate" href="http://www.cnblogs.com/simba/archive/2009/11/10/1599921.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/simba/archive/2009/11/10/1599921.html"/></entry><entry><id>http://www.cnblogs.com/simba/archive/2009/11/10/1599906.html</id><title type="text">声明：我还活着</title><summary type="text">看了一下自己的博客，发现最近一次更新居然是08年4月，已经一年半过去了，纪念一下，顺便证明一下自己还活着。</summary><published>2009-11-10T06:47:00Z</published><updated>2009-11-10T06:47:00Z</updated><author><name>鬼画符</name><uri>http://www.cnblogs.com/simba/</uri></author><link rel="alternate" href="http://www.cnblogs.com/simba/archive/2009/11/10/1599906.html"/><link rel="alternate" type="text/html" href="http://www.cnblogs.com/simba/archive/2009/11/10/1599906.html"/></entry></feed>
