摘要: char text2[64]; up = GetPixel(::GetDC(NULL),499+rect.left,589+rect.top); //::SetCursorPos(499+rect.left,589+rect.top); r = GetRValue(up); g = GetGValu 阅读全文
posted @ 2016-06-30 15:08 hellohyi 阅读(485) 评论(0) 推荐(0) 编辑
摘要: int x11=495; int y22=600; LPARAM lparam111 = MAKELPARAM(x11,y22); //x坐标,y坐标 Sleep(100); LRESULT result =::SendMessage(pWnd2->m_hWnd,WM_LBUTTONDOWN,VK_ 阅读全文
posted @ 2016-06-30 14:53 hellohyi 阅读(265) 评论(0) 推荐(0) 编辑
摘要: // 显示消息对话框 nRes = MessageBox(_T("您确定要跳转网站?"), _T("提示"), MB_OKCANCEL | MB_ICONQUESTION); // 判断消息对话框返回值。如果为IDCANCEL就return,否则继续向下执行 if (IDCANCEL == nRes 阅读全文
posted @ 2016-06-13 15:34 hellohyi 阅读(189) 评论(0) 推荐(0) 编辑
摘要: 在初始化的时候加入以下函数 //去掉标题栏 ModifyStyle(WS_CAPTION, NULL, SWP_DRAWFRAME ); 阅读全文
posted @ 2016-05-12 17:58 hellohyi 阅读(621) 评论(0) 推荐(0) 编辑
摘要: 在conf下 新建一个 文件 格式 : 域名.conf 例如:www.test.com.conf 文件里配置: server{ listen 80; server_name www.test.com; location / { proxy_pass http://www.81145.com/; }} 阅读全文
posted @ 2016-05-08 17:33 hellohyi 阅读(1384) 评论(1) 推荐(0) 编辑
摘要: BOOL DeleteFolder(LPCTSTR lpszPath) { SHFILEOPSTRUCT FileOp; ZeroMemory((void*)&FileOp,sizeof(SHFILEOPSTRUCT)); FileOp.fFlags = FOF_NOCONFIRMATION; Fi 阅读全文
posted @ 2016-04-07 10:38 hellohyi 阅读(719) 评论(0) 推荐(0) 编辑
摘要: long filesize( FILE *fp ) { long int save_pos; long size_of_file; /* Save the current position. */ save_pos = ftell( fp ); /* Jump to the end of the f 阅读全文
posted @ 2016-04-07 10:38 hellohyi 阅读(793) 评论(0) 推荐(0) 编辑
摘要: void WriteUpdateLog(const char* strOutputString, ...) { char strBuffer[256] = {0}; SYSTEMTIME curTime; CString strTime, strMsg; FILE *pFile = NULL; // 阅读全文
posted @ 2016-04-07 10:38 hellohyi 阅读(193) 评论(0) 推荐(0) 编辑
摘要: ShellExecute(NULL, _T("open"), _T("..\\PassthruDriver\\DrvInstall.exe"),NULL, NULL, SW_HIDE); //隐藏驱动安装程序 阅读全文
posted @ 2016-04-07 10:38 hellohyi 阅读(110) 评论(0) 推荐(0) 编辑
摘要: <?xml version="1.0" encoding="UTF-8"?> <!-- TabHost组件id值不可变--> <TabHost xmlns:android="http://schemas.android.com/apk/res/android" android:id="@androi 阅读全文
posted @ 2016-04-07 10:38 hellohyi 阅读(122) 评论(0) 推荐(0) 编辑