摘要: 使用阻止Enter键的编辑控件的简单子类来完成此操作: 调用它: 阅读全文
posted @ 2019-10-25 15:05 strive-sun 阅读(736) 评论(0) 推荐(0) 编辑
摘要: #include <Windows.h> #include <iostream> using namespace std; HHOOK mouseHook; LRESULT __stdcall MouseHookCallback(int nCode, WPARAM wParam, LPARAM lP 阅读全文
posted @ 2019-10-25 14:52 strive-sun 阅读(793) 评论(0) 推荐(0) 编辑
摘要: 为了防止忘记,特记下 DLL的创建,在VS2017中选择dll的创建 Build上面的程序,会生成dll 在需要dll的另一个项目中注入dll 这个项目是检测创建的窗口是否处于激活状态,仅供参考 另注: 如果想调试dll,需要在另一个程序加载DLL文件之前(可以设置Messagebox阻塞程序执行到 阅读全文
posted @ 2019-10-25 14:43 strive-sun 阅读(1003) 评论(0) 推荐(0) 编辑
摘要: 另外参考: Reading a contract from the other side: SHSetInstanceExplorer and SHGetInstanceExplorer 链接是介绍 SHSetInstanceExplorer 的用法 阅读全文
posted @ 2019-10-25 13:43 strive-sun 阅读(439) 评论(0) 推荐(0) 编辑