?? ruler.h
字號:
// Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
// NOTE: Do not modify the contents of this file. If this class is regenerated by
// Microsoft Visual C++, your modifications will be overwritten.
/////////////////////////////////////////////////////////////////////////////
// CRuler wrapper class
class CRuler : public CWnd
{
protected:
DECLARE_DYNCREATE(CRuler)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xd9553ac3, 0xa8aa, 0x4655, { 0x9a, 0xfa, 0x96, 0xc5, 0x91, 0x6f, 0x6a, 0x43 } };
return clsid;
}
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect, CWnd* pParentWnd, UINT nID,
CFile* pPersist = NULL, BOOL bStorage = FALSE,
BSTR bstrLicKey = NULL)
{ return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
pPersist, bStorage, bstrLicKey); }
// Attributes
public:
short GetLowerLimit();
void SetLowerLimit(short);
short GetUpperLimit();
void SetUpperLimit(short);
short GetScalingFactor();
void SetScalingFactor(short);
BOOL GetHorz();
void SetHorz(BOOL);
BOOL GetAutoIncreDecre();
void SetAutoIncreDecre(BOOL);
// Operations
public:
void SetRulerInfo(short nLowerLimit, short nUpperLimit, short nScalingFactor, BOOL bHorz, BOOL b3DLook);
void SetStyle(BOOL b3D);
void SetAlignment(BOOL bHorz);
void StartTracking(long* lpPoint);
void StopTracking(long* lpPoint);
void Track(long* lpPoint);
BOOL AutoIncreDecreSet();
void SetAutoOffset(BOOL bAutoOffset);
void AboutBox();
};
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -