📄 slider.h
字号:
#if !defined(AFX_SLIDER_H__D538183C_6ADA_4FAB_8A4F_5474CF27F857__INCLUDED_)
#define AFX_SLIDER_H__D538183C_6ADA_4FAB_8A4F_5474CF27F857__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 CPicture;
class COleFont;
/////////////////////////////////////////////////////////////////////////////
// CSlider wrapper class
class CSlider : public CWnd
{
protected:
DECLARE_DYNCREATE(CSlider)
public:
CLSID const& GetClsid()
{
static CLSID const clsid
= { 0x144450e9, 0x3399, 0x11d2, { 0xb4, 0x1, 0x0, 0x20, 0x18, 0x32, 0xc0, 0xf5 } };
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:
CPicture GetBackPicture();
void SetBackPicture(LPDISPATCH);
CString GetCaption();
void SetCaption(LPCTSTR);
unsigned long GetCaptionColor();
void SetCaptionColor(unsigned long);
short GetCaptionFontID();
void SetCaptionFontID(short);
short GetCaptions();
void SetCaptions(short);
double GetCaptionX();
void SetCaptionX(double);
double GetCaptionY();
void SetCaptionY(double);
unsigned long GetTicColor();
void SetTicColor(unsigned long);
double GetTicDelta();
void SetTicDelta(double);
short GetTicFontID();
void SetTicFontID(short);
double GetTicInner();
void SetTicInner(double);
BOOL GetTicLabelOn();
void SetTicLabelOn(BOOL);
double GetTicLabelPosition();
void SetTicLabelPosition(double);
double GetTicOuter();
void SetTicOuter(double);
short GetTics();
void SetTics(short);
double GetTicStart();
void SetTicStart(double);
double GetTicStop();
void SetTicStop(double);
CString GetTicShape();
void SetTicShape(LPCTSTR);
double GetTicWidth();
void SetTicWidth(double);
long GetTicStyle();
void SetTicStyle(long);
BOOL GetDigital();
void SetDigital(BOOL);
unsigned long GetDigitalColor();
void SetDigitalColor(unsigned long);
short GetDigitalDecimals();
void SetDigitalDecimals(short);
short GetDigitalFontID();
void SetDigitalFontID(short);
double GetDigitalX();
void SetDigitalX(double);
double GetDigitalY();
void SetDigitalY(double);
double GetBarInner();
void SetBarInner(double);
double GetBarOuter();
void SetBarOuter(double);
unsigned long GetKnobColor();
void SetKnobColor(unsigned long);
double GetKnobInner();
void SetKnobInner(double);
double GetKnobOuter();
void SetKnobOuter(double);
double GetKnobWidth();
void SetKnobWidth(double);
CPicture GetKnobPicture();
void SetKnobPicture(LPDISPATCH);
long GetKnobStyle();
void SetKnobStyle(long);
CString GetKnobUserDefined();
void SetKnobUserDefined(LPCTSTR);
double GetMax();
void SetMax(double);
double GetMin();
void SetMin(double);
unsigned long GetOffColor();
void SetOffColor(unsigned long);
CPicture GetOffPicture();
void SetOffPicture(LPDISPATCH);
unsigned long GetOnColor();
void SetOnColor(unsigned long);
CPicture GetOnPicture();
void SetOnPicture(LPDISPATCH);
CString GetShape();
void SetShape(LPCTSTR);
long GetShapeStyle();
void SetShapeStyle(long);
BOOL GetSnap();
void SetSnap(BOOL);
double GetSnapIncrement();
void SetSnapIncrement(double);
double GetValue();
void SetValue(double);
double Get_Value();
void Set_Value(double);
long GetDirection();
void SetDirection(long);
BOOL GetDigitalAttach();
void SetDigitalAttach(BOOL);
double GetBarStart();
void SetBarStart(double);
double GetBarStop();
void SetBarStop(double);
long GetBevelInner();
void SetBevelInner(long);
long GetBevelOuter();
void SetBevelOuter(long);
short GetBevelWidth();
void SetBevelWidth(short);
short GetBorderWidth();
void SetBorderWidth(short);
BOOL GetOutline();
void SetOutline(BOOL);
long GetOutlineAlign();
void SetOutlineAlign(long);
CString GetOutlineTitle();
void SetOutlineTitle(LPCTSTR);
short GetOutlineWidth();
void SetOutlineWidth(short);
unsigned long GetOutlineColor();
void SetOutlineColor(unsigned long);
COleFont GetFont();
void SetFont(LPDISPATCH);
short GetFonts();
void SetFonts(short);
short GetCaptionID();
void SetCaptionID(short);
short GetFontID();
void SetFontID(short);
OLE_COLOR GetBackColor();
void SetBackColor(OLE_COLOR);
long GetOrientation();
void SetOrientation(long);
short GetTicID();
void SetTicID(short);
BOOL GetAutoRedraw();
void SetAutoRedraw(BOOL);
CString GetFontName();
void SetFontName(LPCTSTR);
float GetFontSize();
void SetFontSize(float);
BOOL GetFontBold();
void SetFontBold(BOOL);
BOOL GetFontItalic();
void SetFontItalic(BOOL);
BOOL GetFontUnderline();
void SetFontUnderline(BOOL);
BOOL GetFontStrikethru();
void SetFontStrikethru(BOOL);
BOOL GetEnabled();
void SetEnabled(BOOL);
long GetMouseControl();
void SetMouseControl(long);
BOOL GetTicAutoTic();
void SetTicAutoTic(BOOL);
short GetTicAutoCount();
void SetTicAutoCount(short);
short GetTicAutoSubCount();
void SetTicAutoSubCount(short);
BOOL GetSingleBuffer();
void SetSingleBuffer(BOOL);
BOOL GetFocusOutline();
void SetFocusOutline(BOOL);
OLE_HANDLE GetHWnd();
void SetHWnd(OLE_HANDLE);
CString GetConfiguration();
void SetConfiguration(LPCTSTR);
// Operations
public:
void ShowPropertyPage();
void Redraw();
void RedrawStatic();
void AboutBox();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_SLIDER_H__D538183C_6ADA_4FAB_8A4F_5474CF27F857__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -