deferwndmove.h
来自「管理项目进度工具的原代码」· C头文件 代码 · 共 32 行
H
32 行
// MultiWndMove.h: interface for the CDeferWndMove class.
//
//////////////////////////////////////////////////////////////////////
#if !defined(AFX_DEFERWNDMOVE_H__4D6EF0E2_B8BF_11D3_ADD8_0000E8425C3E__INCLUDED_)
#define AFX_DEFERWNDMOVE_H__4D6EF0E2_B8BF_11D3_ADD8_0000E8425C3E__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
class CDeferWndMove
{
public:
CDeferWndMove(int nNumWindows = 10);
virtual ~CDeferWndMove();
BOOL BeginMove(int nNumWindows);
BOOL EndMove();
BOOL MoveWindow(CWnd* pWnd, int x, int y, int nWidth, int nHeight, BOOL bRepaint = TRUE);
BOOL MoveWindow(CWnd* pWnd, LPCRECT lpRect, BOOL bRepaint = TRUE);
CRect OffsetCtrl(CWnd* pParent, UINT nCtrlID, int x = 0, int y = 0);
CRect ResizeCtrl(CWnd* pParent, UINT nCtrlID, int cx = 0, int cy = 0);
CRect MoveCtrl(CWnd* pParent, UINT nCtrlID, int x, int y);
protected:
HDWP m_hdwp;
};
#endif // !defined(AFX_MULTIWNDMOVE_H__4D6EF0E2_B8BF_11D3_ADD8_0000E8425C3E__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?