資源簡介
簡單工具,用VC6.0 編譯通過,都沒問題。 類似于QQ的截圖軟件,并把截下來的圖,進行選裝。希望對大家用處
代碼片段和文件信息
//?CatchDlg.cpp?:?implementation?file
//
#include?“stdafx.h“
#include?“ScreenShots.h“
#include?“CatchDlg.h“
#ifdef?_DEBUG
#define?new?DEBUG_NEW
#undef?THIS_FILE
static?char?THIS_FILE[]?=?__FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
//?CCatchDlg?dialog
CCatchDlg::CCatchDlg(CWnd*?pParent?/*=NULL*/)
:?CDialog(CCatchDlg::IDD?pParent)
{
//{{AFX_DATA_INIT(CCatchDlg)
//?NOTE:?the?ClassWizard?will?add?member?initialization?here
//}}AFX_DATA_INIT
m_scRect.left?=?0;??//屏幕左側(cè)的坐標
m_scRect.top?=?0;???//屏幕上測的坐標
m_startPt?=?0;?//鼠標開始的坐標
m_bShowMsg?=?FALSE;?//是否顯示信息框
m_bDraw?=?FALSE; //是否開始橡皮筋
m_bFirstDraw?=?FALSE;?//是否第一次開始橡皮筋
m_strOld?=?““;??????//上次RGB值?
m_scRect.right?=?GetSystemMetrics(SM_CXSCREEN);??//獲取屏幕的寬度
m_scRect.bottom?=?GetSystemMetrics(SM_CYSCREEN);?//獲取屏幕的高度
//獲取屏幕圖像
m_pBitmap?=?CBitmap::FromHandle(CopyScreenToBitmap(m_scRect));
m_rectTracker.m_nstyle?=?CRectTracker::resizeInsid
?屬性????????????大小?????日期????時間???名稱
-----------?---------??----------?-----??----
?????文件??????16800??2012-06-04?11:44??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\CatchDlg.cpp
?????文件???????2429??2012-06-04?11:35??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\CatchDlg.h
?????文件???????3943??2012-05-28?09:21??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Cdib.cpp
?????文件????????916??2011-11-22?15:20??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Cdib.h
?????文件??????50935??2012-06-04?14:59??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\CatchDlg.obj
?????文件??????????0??2012-06-04?14:59??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\CatchDlg.sbr
?????文件??????17100??2012-06-04?13:20??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\Cdib.obj
?????文件??????????0??2012-06-04?13:20??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\Cdib.sbr
?????文件??????15013??2012-06-04?13:20??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\MyEdit.obj
?????文件??????????0??2012-06-04?13:20??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\MyEdit.sbr
?????文件?????286807??2013-05-29?19:33??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\ScreenShots.exe
?????文件??????15313??2012-06-04?23:11??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\ScreenShots.obj
?????文件?????525312??2012-06-04?23:11??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\ScreenShots.pdb
?????文件?????113556??2012-06-04?23:10??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\ScreenShots.res
?????文件??????????0??2012-06-04?23:11??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\ScreenShots.sbr
?????文件??????56716??2012-06-04?23:09??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\ScreenShotsDlg.obj
?????文件??????????0??2012-06-04?23:09??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\ScreenShotsDlg.sbr
?????文件?????106029??2012-06-04?13:20??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\StdAfx.obj
?????文件????1375477??2012-06-04?13:20??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\StdAfx.sbr
?????文件?????372736??2012-06-04?23:11??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\Debug\vc60.pdb
?????文件???????6306??2001-12-12?00:47??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\EasySize.h
?????文件???????1811??2011-06-27?14:39??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\MyEdit.cpp
?????文件???????1253??2011-06-27?14:39??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\MyEdit.h
?????文件???????3669??2012-05-30?15:51??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\ReadMe.txt
?????文件????????766??2012-05-31?09:10??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\res\arrow_m.cur
?????文件?????109398??2012-05-31?08:46??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\res\EditTip.bmp
?????文件???????1078??2012-05-30?15:51??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\res\ScreenShots.ico
?????文件????????403??2012-05-30?15:51??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\res\ScreenShots.rc2
?????文件???????1514??2012-06-04?23:03??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\resource.h
?????文件?????148996??2012-06-04?23:10??ScreenShots功能基本完善?旋轉(zhuǎn)6月3號\ScreenShots.aps
............此處省略19個文件信息
- 上一篇:生成注冊碼以及使用注冊碼安裝軟件
- 下一篇:C++hello world
評論
共有 條評論