HI END


一种永不妥协,追求极致与完美的精神与态度。
  博客园  :: 首页  :: 新随笔  :: 联系 :: 订阅 订阅  :: 管理

2009年3月30日

摘要: const int WM_SYSCOMMAND = 0x112;const int SC_CLOSE = 0xF060;const int SC_MINIMIZE = 0xF020;const int SC_MAXIMIZE = 0xF030;protected override void WndProc(ref Message m){ if (m.Msg == WM_SYSCOMMAND)... 阅读全文

posted @ 2009-03-30 13:23 HI END 阅读(716) 评论(0) 推荐(0) 编辑

摘要: C#实现快捷键(系统热键)响应http://blog.sina.com.cn/s/blog_53864cba0100ch2j.html 在应用中,我们可能会需要实现像Ctrl+C复制、Ctrl+V粘贴这样的快捷键,本文简单介绍了它的实现,并给出了一个实现类。 (1)建立一个类文件,命名为HotKey.cs,代码如下:using System;using System.Collections.G... 阅读全文

posted @ 2009-03-30 13:14 HI END 阅读(1101) 评论(1) 推荐(0) 编辑