refdummy.h 5.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191
  1. #if !defined(AFX_REFDUMMY_H__F5436D04_6E89_11D5_A3DB_0050BA654BA7__INCLUDED_)
  2. #define AFX_REFDUMMY_H__F5436D04_6E89_11D5_A3DB_0050BA654BA7__INCLUDED_
  3. #if _MSC_VER > 1000
  4. #pragma once
  5. #endif // _MSC_VER > 1000
  6. // Machine generated IDispatch wrapper class(es) created by Microsoft Visual C++
  7. // NOTE: Do not modify the contents of this file. If this class is regenerated by
  8. // Microsoft Visual C++, your modifications will be overwritten.
  9. // Dispatch interfaces referenced by this interface
  10. class COleFont;
  11. class CPicture;
  12. /////////////////////////////////////////////////////////////////////////////
  13. // CRefDummy wrapper class
  14. class CRefDummy : public CWnd
  15. {
  16. protected:
  17. DECLARE_DYNCREATE(CRefDummy)
  18. public:
  19. CLSID const& GetClsid()
  20. {
  21. static CLSID const clsid
  22. = { 0x24512, 0x0, 0x0, { 0xc0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0x46 } };
  23. return clsid;
  24. }
  25. virtual BOOL Create(LPCTSTR lpszClassName,
  26. LPCTSTR lpszWindowName, DWORD dwStyle,
  27. const RECT& rect,
  28. CWnd* pParentWnd, UINT nID,
  29. CCreateContext* pContext = NULL)
  30. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID); }
  31. BOOL Create(LPCTSTR lpszWindowName, DWORD dwStyle,
  32. const RECT& rect, CWnd* pParentWnd, UINT nID,
  33. CFile* pPersist = NULL, BOOL bStorage = FALSE,
  34. BSTR bstrLicKey = NULL)
  35. { return CreateControl(GetClsid(), lpszWindowName, dwStyle, rect, pParentWnd, nID,
  36. pPersist, bStorage, bstrLicKey); }
  37. // Attributes
  38. public:
  39. // Operations
  40. public:
  41. void SetAutoSize(BOOL bNewValue);
  42. BOOL GetAutoSize();
  43. void SetAutoTab(BOOL bNewValue);
  44. BOOL GetAutoTab();
  45. void SetAutoWordSelect(BOOL bNewValue);
  46. BOOL GetAutoWordSelect();
  47. void SetBackColor(long nNewValue);
  48. long GetBackColor();
  49. void SetBackStyle(long nNewValue);
  50. long GetBackStyle();
  51. void SetBorderColor(long nNewValue);
  52. long GetBorderColor();
  53. void SetBorderStyle(long nNewValue);
  54. long GetBorderStyle();
  55. BOOL GetCanPaste();
  56. void SetCurLine(long nNewValue);
  57. long GetCurLine();
  58. long GetCurTargetX();
  59. void SetCurX(long nNewValue);
  60. long GetCurX();
  61. void SetEnterKeyBehavior(BOOL bNewValue);
  62. BOOL GetEnterKeyBehavior();
  63. void SetEnabled(BOOL bNewValue);
  64. BOOL GetEnabled();
  65. void SetRefFont(LPDISPATCH newValue);
  66. COleFont GetFont();
  67. void SetForeColor(long nNewValue);
  68. long GetForeColor();
  69. void SetHideSelection(BOOL bNewValue);
  70. BOOL GetHideSelection();
  71. void SetIntegralHeight(BOOL bNewValue);
  72. BOOL GetIntegralHeight();
  73. long GetLineCount();
  74. void SetLocked(BOOL bNewValue);
  75. BOOL GetLocked();
  76. void SetMaxLength(long nNewValue);
  77. long GetMaxLength();
  78. void SetMouseIcon(LPDISPATCH newValue);
  79. void SetRefMouseIcon(LPDISPATCH newValue);
  80. CPicture GetMouseIcon();
  81. void SetMousePointer(long nNewValue);
  82. long GetMousePointer();
  83. void SetMultiLine(BOOL bNewValue);
  84. BOOL GetMultiLine();
  85. void SetPasswordChar(LPCTSTR lpszNewValue);
  86. CString GetPasswordChar();
  87. void SetScrollBars(long nNewValue);
  88. long GetScrollBars();
  89. void SetSelectionMargin(BOOL bNewValue);
  90. BOOL GetSelectionMargin();
  91. void SetSelLength(long nNewValue);
  92. long GetSelLength();
  93. void SetSelStart(long nNewValue);
  94. long GetSelStart();
  95. void SetSelText(LPCTSTR lpszNewValue);
  96. CString GetSelText();
  97. void SetSpecialEffect(long nNewValue);
  98. long GetSpecialEffect();
  99. void SetTabKeyBehavior(BOOL bNewValue);
  100. BOOL GetTabKeyBehavior();
  101. void SetText(LPCTSTR lpszNewValue);
  102. CString GetText();
  103. void SetTextAlign(long nNewValue);
  104. long GetTextAlign();
  105. long GetTextLength();
  106. void SetValue(VARIANT* newValue);
  107. VARIANT GetValue();
  108. void SetWordWrap(BOOL bNewValue);
  109. BOOL GetWordWrap();
  110. void Copy();
  111. void Cut();
  112. void Paste();
  113. void SetIMEMode(long nNewValue);
  114. long GetIMEMode();
  115. void SetEnterFieldBehavior(long nNewValue);
  116. long GetEnterFieldBehavior();
  117. void SetDragBehavior(long nNewValue);
  118. long GetDragBehavior();
  119. void SetCancel(BOOL bNewValue);
  120. BOOL GetCancel();
  121. void SetControlSource(LPCTSTR lpszNewValue);
  122. CString GetControlSource();
  123. void SetControlTipText(LPCTSTR lpszNewValue);
  124. CString GetControlTipText();
  125. void SetDefault(BOOL bNewValue);
  126. BOOL GetDefault();
  127. void _SetHeight(long Height);
  128. void _GetHeight(long* Height);
  129. void SetHeight(float newValue);
  130. float GetHeight();
  131. void SetHelpContextID(long nNewValue);
  132. long GetHelpContextID();
  133. long GetLayoutEffect();
  134. void _SetLeft(long Left);
  135. void _GetLeft(long* Left);
  136. void SetLeft(float newValue);
  137. float GetLeft();
  138. void SetName(LPCTSTR lpszNewValue);
  139. CString GetName();
  140. void _GetOldHeight(long* OldHeight);
  141. float GetOldHeight();
  142. void _GetOldLeft(long* OldLeft);
  143. float GetOldLeft();
  144. void _GetOldTop(long* OldTop);
  145. float GetOldTop();
  146. void _GetOldWidth(long* OldWidth);
  147. float GetOldWidth();
  148. LPDISPATCH GetObject();
  149. LPDISPATCH GetParent();
  150. void SetRowSource(LPCTSTR lpszNewValue);
  151. CString GetRowSource();
  152. void SetRowSourceType(short nNewValue);
  153. short GetRowSourceType();
  154. void SetTabIndex(short nNewValue);
  155. short GetTabIndex();
  156. void SetTabStop(BOOL bNewValue);
  157. BOOL GetTabStop();
  158. void SetTag(LPCTSTR lpszNewValue);
  159. CString GetTag();
  160. void _SetTop(long Top);
  161. void _GetTop(long* Top);
  162. void SetTop(float newValue);
  163. float GetTop();
  164. void SetVisible(BOOL bNewValue);
  165. BOOL GetVisible();
  166. void _SetWidth(long Width);
  167. void _GetWidth(long* Width);
  168. void SetWidth(float newValue);
  169. float GetWidth();
  170. void Move(const VARIANT& Left, const VARIANT& Top, const VARIANT& Width, const VARIANT& Height, const VARIANT& Layout);
  171. void ZOrder(const VARIANT& zPosition);
  172. void SetFocus();
  173. long _GethWnd();
  174. long _GetID();
  175. void _Move(long Left, long Top, long Width, long Height);
  176. void _ZOrder(long zPosition);
  177. };
  178. //{{AFX_INSERT_LOCATION}}
  179. // Microsoft Visual C++ will insert additional declarations immediately before the previous line.
  180. #endif // !defined(AFX_REFDUMMY_H__F5436D04_6E89_11D5_A3DB_0050BA654BA7__INCLUDED_)