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

📄 deferwndmove.h

📁 自动化编译工具代码
💻 H
字号:
// 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);

protected:
	HDWP m_hdwp;
};

#endif // !defined(AFX_MULTIWNDMOVE_H__4D6EF0E2_B8BF_11D3_ADD8_0000E8425C3E__INCLUDED_)

⌨️ 快捷键说明

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