07 2020 档案

摘要:1 VK_LBUTTON 鼠标左键 2 VK_RBUTTON 鼠标右键 3 VK_CANCEL Ctrl+Break(通常不需要处理) 4 VK_MBUTTON 鼠标中键 8 VK_BACK Backspace 9 VK_TAB Tab 12 VK_CLEAR Num Lock关闭时的数字键盘5 1 阅读全文
posted @ 2020-07-16 15:01 温暖了寂寞 阅读(3028) 评论(0) 推荐(0)
摘要://查找窗口 TCHAR szTitle[MAX_PATH] = {0}; HWND hwnd = ::FindWindow(TEXT("#32770"),"PE工具"); if(hwnd != NULL) { //修改窗口标题 ::SetWindowText(hwnd,"PE工具123"); } 阅读全文
posted @ 2020-07-16 14:58 温暖了寂寞 阅读(441) 评论(0) 推荐(0)
摘要:// 信号量作业.cpp : Defines the entry point for the application. // #include "stdafx.h" #include <stdio.h> #include "resource.h" #include <string.h> HWND h 阅读全文
posted @ 2020-07-14 09:44 温暖了寂寞 阅读(148) 评论(0) 推荐(0)
摘要:#include "StdAfx.h" #include <stdio.h> #include <stdlib.h> typedef union { int intType; char charType; float floatType; const char* stringType; } AnyT 阅读全文
posted @ 2020-07-07 17:25 温暖了寂寞 阅读(2005) 评论(0) 推荐(0)
摘要:#include "stdafx.h" #include <WINDOWS.H> int main(int argc, char* argv[]) { SECURITY_ATTRIBUTES sa_p; sa_p.nLength = sizeof(sa_p); sa_p.lpSecurityDesc 阅读全文
posted @ 2020-07-01 22:26 温暖了寂寞 阅读(1537) 评论(0) 推荐(0)
摘要:#include "stdafx.h" #include <WINDOWS.H> int main(int argc, char* argv[]) { SECURITY_ATTRIBUTES sa_p; sa_p.nLength = sizeof(sa_p); sa_p.lpSecurityDesc 阅读全文
posted @ 2020-07-01 18:24 温暖了寂寞 阅读(259) 评论(0) 推荐(0)
摘要:// 消息句柄继承.cpp : Defines the entry point for the console application. // #include "stdafx.h" #include <WINDOWS.H> int main(int argc, char* argv[]) { SE 阅读全文
posted @ 2020-07-01 16:09 温暖了寂寞 阅读(451) 评论(0) 推荐(0)