MFC实现截图
以下是一个使用MFC实现截图的完整源码示例:
cpp
#include <afxwin.h>
#include <afxext.h>
#include <afxdisp.h>
class CScreenshotApp : public CWinApp
{
public:
virtual BOOL InitInstance();
};
class CScreenshotWnd : public CFrameWnd
{
public:
CScreenshotWnd