⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 raster1.h

📁 a mfc program一个简单的MFC程序
💻 H
字号:
///////////////////////////////////////////////////////////////////
//  Header   : RASTER1.CPP
//
//  Purpose  : Header for the RASTER1 application.
//
//  Author   : Rob McGregor, rob_mcgregor@compuserve.com
//        
//  Date     : 06-01-96
///////////////////////////////////////////////////////////////////

#include "stdafx.h"   
#include "colors.h"   

// Derive an application class 
class CMyApp : public CWinApp
{ 
public: 
   virtual BOOL InitInstance();
};

// Derive a frame window class 
class CMainWnd : public CFrameWnd
{ 
protected:
   int    m_nTextHeight;
   CRect  m_rcRop[18];
   CFont  m_fntTitle;

public: 
   CMainWnd();
   ~CMainWnd();
   
   void DisplayLabel(CPaintDC& dc, int nWhich, 
      COLORREF cr = crBlack);
   void DoRasterOps(CPaintDC& dc);
   void CombineRops(CPaintDC& dc, int nIndex, int nWidth, 
      int nHeight, CDC* pdcMem, DWORD dwRop);
   void FillRectArray();

   afx_msg int OnCreate(LPCREATESTRUCT lpcs);
   afx_msg void OnPaint();
   afx_msg void OnSize(UINT nType, int cx, int cy);

   DECLARE_MESSAGE_MAP();
};

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -