截屏源代码
来源:互联网 发布:文章管理系统php源码 编辑:程序博客网 时间:2024/05/17 08:43
RECT rect; ::GetWindowRect(m_hWnd,&rect); int nleft;int nTop;int nWidth;int nHeight;nleft = rect.left + 10;nTop = rect.top + 93;nWidth = 600;nHeight = 260;CScreen *screen=new CScreen(16, NULL, nWidth, nHeight); screen->GetScreen(nleft, nTop, nWidth, nHeight);xstring xstrBmp = CConfigureInstance::Singleton()->GetCfgUserPath();xstrBmp += _T("\\1.bmp");string strBmp = CommonUtil::XStrToStr(xstrBmp);char pszChar[MAX_PATH] = {'\0'};sprintf(pszChar, "%s", strBmp.c_str()); screen->SetScreentoPath(pszChar); delete screen;
0 0
- 截屏源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- 源代码
- hdoj.1000 A + B Problem 20140721
- Erlang-dialyzer
- Linux proc/%d/stat文件详解
- 【优化】SEO做外链应该从分析外链做起
- UVA10271- Chopsticks
- 截屏源代码
- 计算两幅图片的farneback 稠密光流,并将结果图显示出来的程序
- 百度地图 jsp 应用
- ORA-01157: 无法标识/锁定数据文件(手动删除表空间的后果)
- 背后的故事
- QPixmap中load()函数使用
- hdu 4886 TIANKENG’s restaurant(Ⅱ) 字符串
- Android 在ubuntu上下载和编译系统源码
- [win32接口]根据路径,逐级创建目录(若目录不存在)