摘要: #include "stdafx.h"#include int _tmain(int argc, _TCHAR* argv[]){ BOOL bSwapped = ::GetSystemMetrics(SM_SWAPBUTTON); SystemParametersInfo(SPI_SETMOU... 阅读全文
posted @ 2014-10-22 20:52 vlan99 阅读(246) 评论(0) 推荐(0) 编辑
摘要: 玩魔兽和LOL时注意到即时游戏窗口最小化,鼠标仍限制在窗口内,这具体是怎么实现的呢?Msdn上有个例子Confining a Cursor:RECT rcClip; // new area for ClipCursorRECT rcOldClip; // previ... 阅读全文
posted @ 2014-05-11 20:29 vlan99 阅读(837) 评论(0) 推荐(0) 编辑
摘要: windows下简单的调用Setforegroundwindow有时候并不能将窗口置最前,不妨试试以下办法。1、先置topmost,然后取消SetWindowPos(HWND_TOPMOST, 0, 0, 0, 0, SWP_NOSIZE | SWP_NOMOVE);SetWindowPos(HW... 阅读全文
posted @ 2014-05-08 17:48 vlan99 阅读(701) 评论(0) 推荐(0) 编辑
摘要: Vimium Chrome 插件Total Commandar 阅读全文
posted @ 2014-04-27 21:06 vlan99 阅读(114) 评论(0) 推荐(0) 编辑
摘要: BOOL WINAPI FlashWindowEx( __in PFLASHWINFO pfwi);DWORD WINAPI FormatMessage( __in DWORD dwFlags, __in LPCVOID lpSource, __in DWORD dwMessageId, __in ... 阅读全文
posted @ 2014-04-24 16:55 vlan99 阅读(213) 评论(0) 推荐(0) 编辑
摘要: Windows logo key +numberStart the program pinned to the taskbar in the position indicated by the number. If the program is already running, switch to ... 阅读全文
posted @ 2014-04-24 11:23 vlan99 阅读(169) 评论(0) 推荐(0) 编辑
摘要: 中证CTP资料汇总:http://www.citicsf.com/download/ctp/千一公式:http://qygs.ys168.com/ 阅读全文
posted @ 2014-04-21 16:55 vlan99 阅读(172) 评论(0) 推荐(0) 编辑
摘要: 1 使用CMake生成Sln工程,出现错误 Could NOT find ZLIB (missing: ZLIB_LIBRARY ZLIB_INCLUDE_DIR)Call Stack (most recent call first):这是因为libpng需要依赖zlib库我们选中CMake-Gui... 阅读全文
posted @ 2014-04-21 12:37 vlan99 阅读(280) 评论(0) 推荐(0) 编辑
摘要: What's zlib?ZLIB DATA COMPRESSION LIBRARYzlib 1.2.8 is a general purpose data compression library. All the code is thread safe. The data format used b... 阅读全文
posted @ 2014-04-21 11:11 vlan99 阅读(615) 评论(0) 推荐(0) 编辑
摘要: What's cryptopp? http://www.cryptopp.com/svn: svn://svn.code.sf.net/p/cryptopp/code/trunkUser_Guide: http://www.cryptopp.com/wiki/User_Guide:_Introduc... 阅读全文
posted @ 2014-04-14 23:26 vlan99 阅读(135) 评论(0) 推荐(0) 编辑