📄 xtpagerctrl.cpp
字号:
// XTPagerCtrl.cpp : implementation of the CXTPagerCtrl class.
//////////////////////////////////////////////////////////////////////
#include "StdAfx.h"
#include "XTPagerCtrl.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// CXTPagerCtrl
/////////////////////////////////////////////////////////////////////////////
CXTPagerCtrl::CXTPagerCtrl()
{
}
CXTPagerCtrl::~CXTPagerCtrl()
{
}
IMPLEMENT_DYNAMIC(CXTPagerCtrl, CWnd)
BEGIN_MESSAGE_MAP(CXTPagerCtrl, CWnd)
//{{AFX_MSG_MAP(CXTPagerCtrl)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
BOOL CXTPagerCtrl::Create(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID)
{
ASSERT_VALID(pParentWnd); // must have a parent
// initialize common controls
INITCOMMONCONTROLSEX icex;
icex.dwSize = sizeof(icex);
icex.dwICC = ICC_PAGESCROLLER_CLASS;
VERIFY(InitCommonControlsEx(&icex));
CWnd* pWnd = this;
return pWnd->Create(WC_PAGESCROLLER, NULL, dwStyle | WS_CLIPCHILDREN, rect, pParentWnd, nID);
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -