iledrectanglex.h
00001 #if !defined(AFX_ILEDRECTANGLEX_H__0B72F607_8C9A_11D5_A85A_0050BA05DDC8__INCLUDED_)
00002 #define AFX_ILEDRECTANGLEX_H__0B72F607_8C9A_11D5_A85A_0050BA05DDC8__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008
00009
00010
00011
00012
00013
00014 class COleFont;
00015
00017
00018
00019 class CiLedRectangleX : public CWnd
00020 {
00021 protected:
00022 DECLARE_DYNCREATE(CiLedRectangleX)
00023 public:
00024 CLSID const& GetClsid()
00025 {
00026 static CLSID const clsid
00027 = { 0xa362345, 0x2e5e, 0x11d3, { 0x85, 0xbf, 0x0, 0x10, 0x5a, 0xc8, 0xb7, 0x15 } };
00028 return clsid;
00029 }
00030 virtual BOOL Create(LPCTSTR lpszClassName,
00031 LPCTSTR lpszWindowName, DWORD dwStyle,
00032 const RECT& rect,
00033 CWnd* pParentWnd, UINT nID,
00034 CCreateContext* pContext = NULL)
00035 { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
00036
00037 BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
00038 const RECT& rect, CWnd* pParentWnd, UINT nID,
00039 CFile* pPersist = NULL, BOOL bStorage = FALSE,
00040 BSTR bstrLicKey = NULL)
00041 { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
00042 pPersist, bStorage, bstrLicKey); }
00043
00044
00045 public:
00046
00047
00048 public:
00049 BOOL GetActive();
00050 void SetActive(BOOL bNewValue);
00051 unsigned long GetActiveColor();
00052 void SetActiveColor(unsigned long newValue);
00053 long GetBevelStyle();
00054 void SetBevelStyle(long nNewValue);
00055 BOOL GetVisible();
00056 void SetVisible(BOOL bNewValue);
00057 BOOL GetEnabled();
00058 void SetEnabled(BOOL bNewValue);
00059 void AboutBox();
00060 void ShowPropertyEditor();
00061 CString GetCenterLabelText();
00062 void SetCenterLabelText(LPCTSTR lpszNewValue);
00063 COleFont GetCenterLabelFont();
00064 void SetCenterLabelFont(LPDISPATCH newValue);
00065 unsigned long GetCenterLabelFontActiveColor();
00066 void SetCenterLabelFontActiveColor(unsigned long newValue);
00067 unsigned long GetCenterLabelFontInactiveColor();
00068 void SetCenterLabelFontInactiveColor(unsigned long newValue);
00069 void SetActiveNoEvent(BOOL Value);
00070 BOOL GetShowReflection();
00071 void SetShowReflection(BOOL bNewValue);
00072 BOOL GetAutoInactiveColor();
00073 void SetAutoInactiveColor(BOOL bNewValue);
00074 unsigned long GetInactiveColor();
00075 void SetInactiveColor(unsigned long newValue);
00076 void RepaintAll();
00077 void BeginUpdate();
00078 void EndUpdate();
00079 void Lock();
00080 void Unlock();
00081 BOOL GetCenterLabelWordWrap();
00082 void SetCenterLabelWordWrap(BOOL bNewValue);
00083 long GetCenterLabelEndsMargin();
00084 void SetCenterLabelEndsMargin(long nNewValue);
00085 long GetCenterLabelAlignment();
00086 void SetCenterLabelAlignment(long nNewValue);
00087 long GetUpdateFrameRate();
00088 void SetUpdateFrameRate(long nNewValue);
00089 long GetComponentHandle();
00090 };
00091
00092
00093
00094
00095 #endif // AFX_ILEDRECTANGLEX_H__0B72F607_8C9A_11D5_A85A_0050BA05DDC8__INCLUDED_
Erzeugt am Tue Mar 11 14:25:03 2008 für SchunkFPS von
1.3.7