?? drawwnd.h
字號:
// drawwnd.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CDrawWnd window
class CDrawWnd : public CWnd
{
// Construction
public:
CDrawWnd(BOOL bAutoDelete = TRUE);
// Attributes
public:
CString BitmapPath;
CCollection<CString> BitmapList;
CRgn m_rgnLast;
long m_nCounter;
int m_nWidth;
int m_nSteps;
int m_nPos;
int m_nStep;
int m_nScale;
int m_nHeight;
int m_nStyle;
UINT m_nTimerID;
LOGBRUSH m_logbrush;
LOGBRUSH m_logbrushBlack;
static LPCTSTR m_lpszClassName;
void SetSpeed(int nSpeed);
//void SetResolution(int nRes);
//void SetColor(COLORREF cr);
//void SetPenWidth(int nWidth);
//void SetLineStyle(int nStyle);
// Operations
public:
//void DrawLetter(CDC& dc, CPoint pt, int p1[][3], int p2[][3], int nLen);
void SearchFiles(const char* BitmapPath, const char* filter);
void Draw(CDC& dc, int nWidth);
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CDrawWnd)
public:
virtual BOOL Create(DWORD dwExStyle, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
protected:
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CDrawWnd();
protected:
BOOL m_bAutoDelete;
// Generated message map functions
protected:
//{{AFX_MSG(CDrawWnd)
afx_msg void OnTimer(UINT nIDEvent);
afx_msg void OnPaint();
afx_msg void OnSize(UINT nType, int cx, int cy);
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -