📄 movewnd.h
字号:
#ifndef __MoveWnd_h
#define __MoveWnd_h
// MoveWnd.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CMoveWnd window
class CMoveWnd : public CWnd
{
protected:
int m_IDC;
protected:
COLORREF m_BK_Color, m_HI_BColor, m_Text_Color, m_HI_TColor;
UINT m_Blank_Width, m_Blank_Heigh, m_Rect_Width, m_Rect_Heigh;
CString m_Blank_String;
CBrush *m_Brush;
CRect m_Origin_Rect;
// Construction
public:
int *m_pA, *m_ptemp;
CMoveWnd(int IDC);
int m_from, m_to, m_Array_Num;
BOOL m_ResetWnd, m_Move_Flag, m_FromA_Flag, m_ToA_Flag;
// Attributes
public:
void SetMoveWnd(int *A, int *temp, int Array_Num);
// Operations
public:
/*display a window picture */
protected:
/* set picture display header*/
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMoveWnd)
public:
virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL);
//}}AFX_VIRTUAL
// Implementation
public:
virtual ~CMoveWnd();
// Generated message map functions
protected:
//{{AFX_MSG(CMoveWnd)
afx_msg void OnPaint();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -