<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/"><channel><title>★卢培培★  ──  欢迎光临卢培培（goodname008）的BLOG - Visual Basic</title><link>http://blog.csdn.net/goodname008/category/23407.aspx</link><description>用VB进行描述的编程技巧。
所有源代码在VB 6.0下调试通过。</description><dc:language>zh-CN</dc:language><lastUpdateTime>Mon, 02 Jan 2006 17:14:21 GMT</lastUpdateTime><ttl>60</ttl><item><dc:creator>卢培培</dc:creator><title>将CMD的输入输出重定向到自己的进程</title><link>http://blog.csdn.net/goodname008/archive/2005/10/30/519646.aspx</link><pubDate>Sun, 30 Oct 2005 18:54:00 GMT</pubDate><guid>http://blog.csdn.net/goodname008/archive/2005/10/30/519646.aspx</guid><wfw:comment>http://blog.csdn.net/goodname008/comments/519646.aspx</wfw:comment><comments>http://blog.csdn.net/goodname008/archive/2005/10/30/519646.aspx#Feedback</comments><slash:comments>7</slash:comments><wfw:commentRss>http://blog.csdn.net/goodname008/comments/commentRss/519646.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=519646</trackback:ping><description>前段时间，CSDN VB版的一个网友问了一个如何取得进程句柄的问题，后来贴子中又引出另一个问题：如何将CMD的输入输出重定向到自己的进程？由于楼主提前结了贴子，所以我另开了一个贴子对这个问题作出了回答，两个原贴均可以在CSDN的VB版搜索到。现在我把代码记录在此，以飨更多的朋友。

&lt;img src ="http://blog.csdn.net/goodname008/aggbug/519646.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>卢培培</dc:creator><title>利用底层键盘钩子拦载任意按键（回调版）</title><link>http://blog.csdn.net/goodname008/archive/2005/01/18/258215.aspx</link><pubDate>Tue, 18 Jan 2005 17:00:00 GMT</pubDate><guid>http://blog.csdn.net/goodname008/archive/2005/01/18/258215.aspx</guid><wfw:comment>http://blog.csdn.net/goodname008/comments/258215.aspx</wfw:comment><comments>http://blog.csdn.net/goodname008/archive/2005/01/18/258215.aspx#Feedback</comments><slash:comments>31</slash:comments><wfw:commentRss>http://blog.csdn.net/goodname008/comments/commentRss/258215.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=258215</trackback:ping><description>    前段时间我曾经写过一篇《利用底层键盘钩子屏蔽任意按键》，并放到了我的blog上。这篇文章的题目中把“屏蔽”改成了“拦截”，显然要比以前的版本强一些了。对于以前写的那个DLL，有一个不够理想的地方，就是仅仅能实现屏蔽。如果想在屏蔽之前加入一些“小动作”，就只能修改DLL，在LowLevelKeyboardProc函数中添加代码，实现新的功能。但这样显然不够灵活，这样的DLL也不具备一般性了。所以我自然而然地想到了回调，Windows中有很多需要回调函数的API，我们当然也可以写出这样的API，这样做的好处就是可以给DLL调用程序留下足够的接口。此时，DLL就像一个阀门，我们不关心的按键消息就把它放过去，只把我们关心的按键消息拦截下来，然后进一步处理，而这些处理的代码就写在DLL调用程序的回调函数中，这样做是最理想不过的了。&lt;img src ="http://blog.csdn.net/goodname008/aggbug/258215.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>卢培培</dc:creator><title>利用底层键盘钩子屏蔽任意按键</title><link>http://blog.csdn.net/goodname008/archive/2004/08/21/80827.aspx</link><pubDate>Sat, 21 Aug 2004 14:44:00 GMT</pubDate><guid>http://blog.csdn.net/goodname008/archive/2004/08/21/80827.aspx</guid><wfw:comment>http://blog.csdn.net/goodname008/comments/80827.aspx</wfw:comment><comments>http://blog.csdn.net/goodname008/archive/2004/08/21/80827.aspx#Feedback</comments><slash:comments>41</slash:comments><wfw:commentRss>http://blog.csdn.net/goodname008/comments/commentRss/80827.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=80827</trackback:ping><description>本文的重点在于底层键盘钩子的应用，前些天CSDN的VB版有人问如何实现屏蔽win键，说实话，这东西用VB也是可以做到的，只不过全局钩子的钩子函数必须写在标准dll中，而VB只能通过变通的方法做出标准dll，稍微有点麻烦，所以我索性用VC写了一个dll，这样VC、VB或Delphi等等都可以调用，而且我也留出了足够的接口，稍后就会看到。
&lt;img src ="http://blog.csdn.net/goodname008/aggbug/80827.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>卢培培</dc:creator><title>利用LineDDA函数做简单动画</title><link>http://blog.csdn.net/goodname008/archive/2004/08/01/58034.aspx</link><pubDate>Sun, 01 Aug 2004 17:44:00 GMT</pubDate><guid>http://blog.csdn.net/goodname008/archive/2004/08/01/58034.aspx</guid><wfw:comment>http://blog.csdn.net/goodname008/comments/58034.aspx</wfw:comment><comments>http://blog.csdn.net/goodname008/archive/2004/08/01/58034.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/goodname008/comments/commentRss/58034.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=58034</trackback:ping><description>如果在VB中实现比较简单的动画效果，也许很多人会选用Timer控件，其实API函数中有一个LineDDA，用这个函数实现简单的动画效果还是比较不错的。因为是API函数，所以很一般化，因此很多语言都可以用它来实现简单的动画。

&lt;img src ="http://blog.csdn.net/goodname008/aggbug/58034.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>卢培培</dc:creator><title>Win32 函数原型</title><link>http://blog.csdn.net/goodname008/archive/2004/07/14/40958.aspx</link><pubDate>Wed, 14 Jul 2004 01:23:00 GMT</pubDate><guid>http://blog.csdn.net/goodname008/archive/2004/07/14/40958.aspx</guid><wfw:comment>http://blog.csdn.net/goodname008/comments/40958.aspx</wfw:comment><comments>http://blog.csdn.net/goodname008/archive/2004/07/14/40958.aspx#Feedback</comments><slash:comments>3</slash:comments><wfw:commentRss>http://blog.csdn.net/goodname008/comments/commentRss/40958.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=40958</trackback:ping><description>Win32函数原型分为普通、ANSI和Unicode三种。其实如果严格地说，并不能有普通这种分法，也就是只有ANSI和Unicode这两种。&lt;img src ="http://blog.csdn.net/goodname008/aggbug/40958.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>卢培培</dc:creator><title>VB打造超酷个性化菜单（三）</title><link>http://blog.csdn.net/goodname008/archive/2004/07/12/39672.aspx</link><pubDate>Mon, 12 Jul 2004 14:52:00 GMT</pubDate><guid>http://blog.csdn.net/goodname008/archive/2004/07/12/39672.aspx</guid><wfw:comment>http://blog.csdn.net/goodname008/comments/39672.aspx</wfw:comment><comments>http://blog.csdn.net/goodname008/archive/2004/07/12/39672.aspx#Feedback</comments><slash:comments>21</slash:comments><wfw:commentRss>http://blog.csdn.net/goodname008/comments/commentRss/39672.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=39672</trackback:ping><description>现在到了最关键，最精彩，也是最复杂的部分了。我们最关心的就是怎样“画”菜单，怎样处理菜单事件，在MenuWndProc这个处理消息的函数里，我们要处理如下消息：WM_COMMAND（单击菜单项），WM_MEASUREITEM（处理菜单高度和宽度），WM_MENUSELECT（选择菜单项），WM_DRAWITEM（绘制菜单项）。
&lt;img src ="http://blog.csdn.net/goodname008/aggbug/39672.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>卢培培</dc:creator><title>VB打造超酷个性化菜单（二）</title><link>http://blog.csdn.net/goodname008/archive/2004/07/12/39668.aspx</link><pubDate>Mon, 12 Jul 2004 14:50:00 GMT</pubDate><guid>http://blog.csdn.net/goodname008/archive/2004/07/12/39668.aspx</guid><wfw:comment>http://blog.csdn.net/goodname008/comments/39668.aspx</wfw:comment><comments>http://blog.csdn.net/goodname008/archive/2004/07/12/39668.aspx#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/goodname008/comments/commentRss/39668.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=39668</trackback:ping><description>其实，漂亮的界面都是“画”出来的，菜单当然也不例外。既然是“画”出来的，就需要有窗体来接收“画”菜单这个消息，后面我们会看到，实际上不仅仅是“画”这个消息，一切关于这个菜单的消息都要有一个窗体来接收。如果你对消息不太了解，可以看看网上其它一些关于Windows消息机制的文章。不了解也没有关系，只要会使用就可以了，后面的文章给出了完整的源代码，而且文章的最后还给出了源代码的下载地址。
&lt;img src ="http://blog.csdn.net/goodname008/aggbug/39668.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>卢培培</dc:creator><title>VB打造超酷个性化菜单（一）</title><link>http://blog.csdn.net/goodname008/archive/2004/07/12/39664.aspx</link><pubDate>Mon, 12 Jul 2004 14:48:00 GMT</pubDate><guid>http://blog.csdn.net/goodname008/archive/2004/07/12/39664.aspx</guid><wfw:comment>http://blog.csdn.net/goodname008/comments/39664.aspx</wfw:comment><comments>http://blog.csdn.net/goodname008/archive/2004/07/12/39664.aspx#Feedback</comments><slash:comments>28</slash:comments><wfw:commentRss>http://blog.csdn.net/goodname008/comments/commentRss/39664.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=39664</trackback:ping><description>众所周知，MS Office 2003推出已经有一段时间了，但我们依然不会忘记Office XP刚刚推出时其令人耳目一新的菜单给我们留下的深刻印象。突起的悬浮式图标，不同寻常的菜单项填充方式，不仅让办公一族们赞不绝口，更让广大的程序员和编程爱好者对这种风格的菜单的制作产生了浓厚的兴趣。所以，在这篇文章里，我们就来好好地研究研究用VB怎么制作这种风格的菜单，在文章的最后，我将给出源代码的下载地址。事实上，在了解其原理以后，不论是用VB、VC还是Delphi，都能够制作出XP风格的菜单。不仅如此，我们还可以制作出更加充满个性的另类风格的菜单，比如3D立体风格、渐变风格、多彩风格等等。只有想不到的，没有做不到的。Follow me！
&lt;img src ="http://blog.csdn.net/goodname008/aggbug/39664.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>卢培培</dc:creator><title>用API修改注册表的完整模块</title><link>http://blog.csdn.net/goodname008/archive/2004/07/12/39451.aspx</link><pubDate>Mon, 12 Jul 2004 11:12:00 GMT</pubDate><guid>http://blog.csdn.net/goodname008/archive/2004/07/12/39451.aspx</guid><wfw:comment>http://blog.csdn.net/goodname008/comments/39451.aspx</wfw:comment><comments>http://blog.csdn.net/goodname008/archive/2004/07/12/39451.aspx#Feedback</comments><slash:comments>10</slash:comments><wfw:commentRss>http://blog.csdn.net/goodname008/comments/commentRss/39451.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=39451</trackback:ping><description>有些老掉牙了，这是很久以前写的了，觉得功能已经比较完善了。
http://csdngoodname008.51.net/mRegistry.zip
&lt;img src ="http://blog.csdn.net/goodname008/aggbug/39451.aspx" width = "1" height = "1" /&gt;</description></item><item><dc:creator>卢培培</dc:creator><title>在托盘图标中添加气球提示</title><link>http://blog.csdn.net/goodname008/archive/2004/07/11/39039.aspx</link><pubDate>Sun, 11 Jul 2004 15:32:00 GMT</pubDate><guid>http://blog.csdn.net/goodname008/archive/2004/07/11/39039.aspx</guid><wfw:comment>http://blog.csdn.net/goodname008/comments/39039.aspx</wfw:comment><comments>http://blog.csdn.net/goodname008/archive/2004/07/11/39039.aspx#Feedback</comments><slash:comments>13</slash:comments><wfw:commentRss>http://blog.csdn.net/goodname008/comments/commentRss/39039.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=39039</trackback:ping><description>很多朋友都见到过能在托盘图标上出现气球提示的软件，不说软件，就是在“磁盘空间不足”时Windows给出的提示就属于气球提示，那么怎样在自己的程序中添加这样的气球提示呢？http://csdngoodname008.51.net/Balloon.zip
&lt;img src ="http://blog.csdn.net/goodname008/aggbug/39039.aspx" width = "1" height = "1" /&gt;</description></item></channel></rss>