📄 _scalebar.h
字号:
#if !defined(AFX__SCALEBAR_H__97F2B174_234A_401A_80D6_35783B851DC3__INCLUDED_)
#define AFX__SCALEBAR_H__97F2B174_234A_401A_80D6_35783B851DC3__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// 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.
// Dispatch interfaces referenced by this interface
class C_sbExtent;
/////////////////////////////////////////////////////////////////////////////
// C_ScaleBar wrapper class
class C_ScaleBar : public CWnd
{
protected:
DECLARE_DYNCREATE(C_ScaleBar)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0xb3ba9a48, 0xe9f, 0x11d5, { 0xb2, 0xfd, 0x0, 0x1, 0x2, 0xd8, 0x71, 0x23 } };
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:
// Operations
public:
void SetRefFont(LPDISPATCH newValue);
void SetRefPicture(LPDISPATCH newValue);
LPDISPATCH GetPicture();
void SetScaleBarUnits(long nNewValue);
void SetScreenUnits(long nNewValue);
long GetScreenUnits();
void Refresh();
unsigned long GetBarColor1();
void SetBarColor1(unsigned long newValue);
unsigned long GetBarColor2();
void SetBarColor2(unsigned long newValue);
short GetBarWidth();
void SetBarWidth(short nNewValue);
long GetMapUnits();
void SetMapUnits(long nNewValue);
long GetScaleBarUnits();
long GetScaleText();
void SetScaleText(long nNewValue);
unsigned long GetTextColor();
void SetTextColor(unsigned long newValue);
unsigned long GetBackColor();
void SetBackColor(unsigned long newValue);
C_sbExtent GetMapExtent();
void SetMapExtent(LPDISPATCH newValue);
C_sbExtent GetPageExtent();
void SetPageExtent(LPDISPATCH newValue);
double GetRFScale();
LPDISPATCH GetFont();
long GetHWnd();
long GetHDC();
short GetAppearance();
long GetBorderStyle();
void SetBorderStyle(long nNewValue);
LPDISPATCH GetMouseIcon();
void SetRefMouseIcon(LPDISPATCH newValue);
long GetMousePointer();
void SetMousePointer(long nNewValue);
void PaintPicture(LPDISPATCH* Picture, float* X1, float* Y1, VARIANT* Width1, VARIANT* Height1, VARIANT* X2, VARIANT* Y2, VARIANT* Width2, VARIANT* Height2, VARIANT* Opcode);
CString GetToolTipText();
void SetToolTipText(LPCTSTR lpszNewValue);
float GetMinTicSpace();
void SetMinTicSpace(float newValue);
BOOL GetAdjustForLatitude();
void SetAdjustForLatitude(BOOL bNewValue);
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX__SCALEBAR_H__97F2B174_234A_401A_80D6_35783B851DC3__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -