上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 40 下一页
摘要: 原文:http://www.cnblogs.com/VOIP/archive/2011/03/22/1990927.html Windows API 中有两个函数可以得到系统版本信息:GetVersion和GetVersionEx。 GetVersion这个函数曾经困扰了很多程序员,其本来设计的是在 阅读全文
posted @ 2017-07-13 16:14 lizhigang 阅读(2292) 评论(0) 推荐(0)
摘要: 原文:http://www.cnblogs.com/del/archive/2008/06/17/1223681.html 阅读全文
posted @ 2017-07-13 16:03 lizhigang 阅读(260) 评论(0) 推荐(0)
摘要: 原文:http://www.cnblogs.com/oraclejava/articles/1549025.html public class User32API { private static Hashtable processWnd = null; public delegate bool W 阅读全文
posted @ 2017-07-13 10:01 lizhigang 阅读(6884) 评论(0) 推荐(0)
摘要: 原文:http://www.cnblogs.com/ahuo/archive/2007/12/05/983354.html IsWindow 函数功能:该函数确定给定的窗口句柄是否识别一个已存在的窗口。 因数原型:BOOL IsWindow(HWND hWnd); 参数: hWnd:被测试窗口的句柄 阅读全文
posted @ 2017-07-13 10:00 lizhigang 阅读(554) 评论(0) 推荐(0)
摘要: 原文:http://www.cnblogs.com/wind-net/archive/2012/11/01/2750123.html SendMessage 和 PostMessage 的区别 1、首先是返回值意义的区别,我们先看一下 MSDN 里的声明: LRESULT SendMessage( 阅读全文
posted @ 2017-07-11 17:24 lizhigang 阅读(3198) 评论(0) 推荐(0)
摘要: 原文:http://www.cnblogs.com/xingrun/p/3583357.html TranslateMessage函数 函数功能描述:将虚拟键消息转换为字符消息。字符消息被送到调用线程的消息队列中,在下一次线程调用函数GetMessage或PeekMessage时被读出。 .函数原型 阅读全文
posted @ 2017-07-11 17:15 lizhigang 阅读(478) 评论(0) 推荐(0)
摘要: 原文:http://www.cnblogs.com/jh0262/archive/2006/12/06/2946856.html MFC内部代码是:MSG message; while(::GetMessage(&message,NULL,0,0)) { ::TranslateMessage(&me 阅读全文
posted @ 2017-07-11 17:13 lizhigang 阅读(371) 评论(0) 推荐(0)
摘要: 原文:http://www.cnblogs.com/faceang/archive/2010/05/25/1743757.html PeekMessage与GetMessage的对比相同点:PeekMessage函数与GetMessage函数都用于查看应用程序消息队列,有消息时将队列中 的消息派发出 阅读全文
posted @ 2017-07-11 16:57 lizhigang 阅读(155) 评论(0) 推荐(0)
摘要: 原文:http://www.cnblogs.com/jxsoft/archive/2011/10/17/2215366.html DWORD GetTickCount(void); 1) 定义 For Release configurations, this function returns the 阅读全文
posted @ 2017-07-11 16:44 lizhigang 阅读(10596) 评论(0) 推荐(0)
摘要: 原文:http://www.cnblogs.com/lhwblog/p/6670280.html 可以将LPVOID类型的变量赋值给任意类型的指针,比如在参数传递时就可以把任意类型传递给一个LPVOID类型为参数的方法,然后在方法内再将这个“任意类型”从传递时的“LPVOID类型”转换回来。 示例程 阅读全文
posted @ 2017-07-11 16:20 lizhigang 阅读(441) 评论(0) 推荐(0)
上一页 1 ··· 30 31 32 33 34 35 36 37 38 ··· 40 下一页